Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 116.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 278.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9659/0.9659, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 87.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4397, allocations: 86.99 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003848/0.4436, allocations: 2.413 MB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.4459, allocations: 1.418 MB / 0.7708 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.446, allocations: 8 kB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.4468, allocations: 171.3 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.4471, allocations: 135.3 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.4476, allocations: 183.5 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.448, allocations: 219.4 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.4483, allocations: 124.6 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.4485, allocations: 83.73 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4487, allocations: 115.6 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.4488, allocations: 12 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.4491, allocations: 175.7 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.4492, allocations: 71.73 kB / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.4493, allocations: 75.61 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.4497, allocations: 277.8 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4497, allocations: 4 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4497, allocations: 3.938 kB / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4497, allocations: 0 / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006661/0.4504, allocations: 475.2 kB / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4505, allocations: 12.02 kB / 0.7728 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.451, allocations: 60.69 kB / 0.7729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4513, allocations: 232 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4513, allocations: 16.59 kB / 0.7731 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.4514, allocations: 16.36 kB / 0.7732 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.4518, allocations: 279.6 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4519, allocations: 0 / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.4519, allocations: 8 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.4519, allocations: 20.22 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.4523, allocations: 206.3 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.4539, allocations: 1.587 MB / 0.7752 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.4543, allocations: 311.3 kB / 0.7755 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.4544, allocations: 65.67 kB / 0.7756 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.4545, allocations: 8 kB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4545, allocations: 34.56 kB / 0.7756 GB, free: 10.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4545, allocations: 0 / 0.7756 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005757/0.4551, allocations: 244.7 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4551, allocations: 77.11 kB / 0.7759 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.4553, allocations: 196 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4554, allocations: 33.83 kB / 0.7761 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4555, allocations: 159.6 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.4556, allocations: 31.47 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4557, allocations: 53.69 kB / 0.7764 GB, free: 9.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4559, allocations: 322.8 kB / 0.7767 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.456, allocations: 72.81 kB / 0.7767 GB, free: 9.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.4562, allocations: 149.5 kB / 0.7769 GB, free: 9.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.4565, allocations: 238.8 kB / 0.7771 GB, free: 9.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4565, allocations: 4 kB / 0.7771 GB, free: 9.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000431/0.4569, allocations: 257.2 kB / 0.7773 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.457, allocations: 4 kB / 0.7774 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.457, allocations: 4.375 kB / 0.7774 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.457, allocations: 8 kB / 0.7774 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4573, allocations: 59.83 kB / 0.7774 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4573, allocations: 7.938 kB / 0.7774 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.4575, allocations: 19.92 kB / 0.7774 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.4575, allocations: 8 kB / 0.7775 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001768/0.4577, allocations: 164 kB / 0.7776 GB, free: 8.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.4578, allocations: 147.5 kB / 0.7778 GB, free: 8.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002641/0.4581, allocations: 227.7 kB / 0.778 GB, free: 8.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.185e-06/0.4581, allocations: 0 / 0.778 GB, free: 8.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003713/0.4585, allocations: 241.6 kB / 0.7782 GB, free: 7.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4585, allocations: 4 kB / 0.7782 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4585, allocations: 4.406 kB / 0.7782 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.4585, allocations: 8 kB / 0.7782 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4587, allocations: 47.91 kB / 0.7783 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4587, allocations: 7.938 kB / 0.7783 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4589, allocations: 15.98 kB / 0.7783 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.4589, allocations: 8 kB / 0.7783 GB, free: 7.789 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.459, allocations: 192.2 kB / 0.7785 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.4591, allocations: 15.81 kB / 0.7785 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.4593, allocations: 150.9 kB / 0.7786 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4594, allocations: 7.938 kB / 0.7786 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4594, allocations: 128 / 0.7786 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.4595, allocations: 108.9 kB / 0.7787 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4595, allocations: 7.984 kB / 0.7788 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4597, allocations: 19.91 kB / 0.7788 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.4597, allocations: 8 kB / 0.7788 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002961/0.46, allocations: 292.1 kB / 0.7791 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002715/0.4603, allocations: 397.8 kB / 0.7794 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.705e-05/0.4604, allocations: 51.91 kB / 0.7795 GB, free: 6.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001092/0.4605, allocations: 149.1 kB / 0.7796 GB, free: 6.359 MB / 0.545 GB Notification: Performance of Backend: time 7.21e-07/0.4605, allocations: 0 / 0.7796 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009074/0.4614, allocations: 387.9 kB / 0.78 GB, free: 5.977 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007905/0.4622, allocations: 0.7717 MB / 0.7808 GB, free: 5.16 MB / 0.545 GB Notification: Performance of Templates: time 0.006846/0.4691, allocations: 3.386 MB / 0.7841 GB, free: 1.793 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)