Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007598/0.0007598, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.137/1.137, allocations: 223.2 MB / 240.5 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5908/0.5908, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 8.719 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1095, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.002725/0.1123, allocations: 2.705 MB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1137, allocations: 1.248 MB / 0.5606 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1138, allocations: 7.938 kB / 0.5606 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1139, allocations: 39.75 kB / 0.5606 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1141, allocations: 107.7 kB / 0.5607 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1144, allocations: 107.7 kB / 0.5608 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1146, allocations: 187.6 kB / 0.561 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.1148, allocations: 215.3 kB / 0.5612 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1149, allocations: 99.67 kB / 0.5613 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1151, allocations: 103.6 kB / 0.5614 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1151, allocations: 12 kB / 0.5614 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1153, allocations: 83.81 kB / 0.5615 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1154, allocations: 71.8 kB / 0.5616 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1154, allocations: 65.58 kB / 0.5616 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1156, allocations: 259.6 kB / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.1157, allocations: 0 / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1157, allocations: 0 / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1157, allocations: 0 / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005833/0.1163, allocations: 0.4989 MB / 0.5624 GB, free: 5.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1163, allocations: 8.031 kB / 0.5624 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1164, allocations: 62.55 kB / 0.5624 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.1169, allocations: 87.55 kB / 0.5625 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1171, allocations: 249.5 kB / 0.5628 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1172, allocations: 20.42 kB / 0.5628 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1172, allocations: 19.94 kB / 0.5628 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.1176, allocations: 312.2 kB / 0.5631 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1176, allocations: 0 / 0.5631 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1176, allocations: 12 kB / 0.5631 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.1177, allocations: 16.42 kB / 0.5631 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.118, allocations: 213.6 kB / 0.5633 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1192, allocations: 1.498 MB / 0.5648 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1196, allocations: 211.6 kB / 0.565 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1196, allocations: 4 kB / 0.565 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.1196, allocations: 34.56 kB / 0.565 GB, free: 2.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1196, allocations: 0 / 0.565 GB, free: 2.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004544/0.1201, allocations: 267.5 kB / 0.5653 GB, free: 2.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.1201, allocations: 55.41 kB / 0.5653 GB, free: 2.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1203, allocations: 216.2 kB / 0.5655 GB, free: 2.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1203, allocations: 25.7 kB / 0.5656 GB, free: 2.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.1204, allocations: 171.7 kB / 0.5657 GB, free: 2.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1204, allocations: 31.55 kB / 0.5658 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.1204, allocations: 4 kB / 0.5658 GB, free: 2.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.1205, allocations: 326.8 kB / 0.5661 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1206, allocations: 47.92 kB / 0.5661 GB, free: 1.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1207, allocations: 111 kB / 0.5662 GB, free: 1.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1208, allocations: 67.91 kB / 0.5663 GB, free: 1.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1209, allocations: 0 / 0.5663 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003273/0.1212, allocations: 218.2 kB / 0.5665 GB, free: 1.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1212, allocations: 8 kB / 0.5665 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1212, allocations: 0 / 0.5665 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.1213, allocations: 32.83 kB / 0.5665 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1215, allocations: 31.92 kB / 0.5666 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008052/0.1223, allocations: 1.335 MB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1224, allocations: 28 kB / 0.5679 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1224, allocations: 8 kB / 0.5679 GB, free: 15.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1225, allocations: 149.8 kB / 0.568 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1226, allocations: 15.81 kB / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.1226, allocations: 25.34 kB / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1226, allocations: 0 / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1226, allocations: 0 / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1226, allocations: 3.953 kB / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1231, allocations: 491.2 kB / 0.5686 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1232, allocations: 4 kB / 0.5686 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.1232, allocations: 8 kB / 0.5686 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.249e-05/0.1233, allocations: 36.78 kB / 0.5686 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1233, allocations: 4 kB / 0.5686 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007271/0.1241, allocations: 1.323 MB / 0.5699 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1241, allocations: 4.656 kB / 0.5699 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1243, allocations: 240.3 kB / 0.5701 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.1244, allocations: 112.8 kB / 0.5702 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1244, allocations: 0 / 0.5702 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1245, allocations: 7.984 kB / 0.5703 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.1246, allocations: 12 kB / 0.5703 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1246, allocations: 4 kB / 0.5703 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.1247, allocations: 145.5 kB / 0.5704 GB, free: 12.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1247, allocations: 0 / 0.5704 GB, free: 12.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.125, allocations: 59.75 kB / 0.5705 GB, free: 12.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/0.1254, allocations: 0.7801 MB / 0.5712 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.1258, allocations: 234.9 kB / 0.5714 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1258, allocations: 3.938 kB / 0.5715 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.126, allocations: 162.7 kB / 0.5716 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1262, allocations: 23.98 kB / 0.5716 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1278, allocations: 2.507 MB / 0.5741 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1281, allocations: 0.7596 MB / 0.5748 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.017e-05/0.1282, allocations: 33.53 kB / 0.5749 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.1282, allocations: 55.42 kB / 0.5749 GB, free: 8.062 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1282, allocations: 0 / 0.5749 GB, free: 8.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.771/1.899, allocations: 3.591 MB / 0.5784 GB, free: 4.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.899, allocations: 198.1 kB / 0.5786 GB, free: 4.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/3.655, allocations: 0 / 0.5786 GB, free: 4.422 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: