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.001309/0.001309, allocations: 107.8 kB / 16.41 MB, free: 6.48 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.001296/0.001296, allocations: 193.8 kB / 17.34 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6626/0.6626, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 65.47 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1202, allocations: 76.18 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00451/0.1247, allocations: 3.184 MB / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1268, allocations: 1.379 MB / 0.636 GB, free: 368 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.127, allocations: 4 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.1279, allocations: 334.7 kB / 0.6364 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.1283, allocations: 151.2 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1287, allocations: 143.6 kB / 0.6366 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1291, allocations: 330.9 kB / 0.637 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.1295, allocations: 262.4 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1297, allocations: 139.5 kB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.13, allocations: 151.4 kB / 0.6375 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.13, allocations: 20 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1303, allocations: 171.6 kB / 0.6377 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.1304, allocations: 83.78 kB / 0.6377 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1305, allocations: 119.4 kB / 0.6379 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1309, allocations: 351.7 kB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1309, allocations: 4 kB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.131, allocations: 3.938 kB / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.131, allocations: 0 / 0.6382 GB, free: 14.13 MB / 494.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.0008231/0.1318, allocations: 0.5458 MB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1318, allocations: 8.031 kB / 0.6387 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.1319, allocations: 54.73 kB / 0.6388 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.1324, allocations: 88.48 kB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1327, allocations: 259.3 kB / 0.6391 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1328, allocations: 16.81 kB / 0.6391 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1328, allocations: 16.38 kB / 0.6392 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.1333, allocations: 316.4 kB / 0.6395 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1333, allocations: 4 kB / 0.6395 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1333, allocations: 11.98 kB / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1334, allocations: 16.44 kB / 0.6395 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1337, allocations: 213.5 kB / 0.6397 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1351, allocations: 1.49 MB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.1355, allocations: 207.6 kB / 0.6413 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.1356, allocations: 40.84 kB / 0.6414 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1357, allocations: 0 / 0.6414 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1357, allocations: 42.55 kB / 0.6414 GB, free: 10.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1357, allocations: 0 / 0.6414 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.1362, allocations: 259.4 kB / 0.6417 GB, free: 10.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1363, allocations: 51.41 kB / 0.6417 GB, free: 10.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1365, allocations: 207.6 kB / 0.6419 GB, free: 9.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1365, allocations: 37.7 kB / 0.642 GB, free: 9.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.1366, allocations: 171.7 kB / 0.6421 GB, free: 9.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1366, allocations: 31.55 kB / 0.6421 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.1367, allocations: 37.62 kB / 0.6422 GB, free: 9.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1368, allocations: 326.8 kB / 0.6425 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.1369, allocations: 43.98 kB / 0.6425 GB, free: 9.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.137, allocations: 118.4 kB / 0.6426 GB, free: 9.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1372, allocations: 172.4 kB / 0.6428 GB, free: 8.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1372, allocations: 3.938 kB / 0.6428 GB, free: 8.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003384/0.1376, allocations: 210.1 kB / 0.643 GB, free: 8.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1376, allocations: 4 kB / 0.643 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1376, allocations: 4 kB / 0.643 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.1378, allocations: 32.72 kB / 0.6431 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1379, allocations: 27.98 kB / 0.6431 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.1389, allocations: 1.441 MB / 0.6445 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1391, allocations: 15.88 kB / 0.6445 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1391, allocations: 8 kB / 0.6445 GB, free: 7.047 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.1393, allocations: 149.8 kB / 0.6447 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1393, allocations: 15.81 kB / 0.6447 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1393, allocations: 17.41 kB / 0.6447 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1393, allocations: 0 / 0.6447 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1394, allocations: 3.984 kB / 0.6447 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1394, allocations: 8.062 kB / 0.6447 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.1399, allocations: 491.4 kB / 0.6452 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.14, allocations: 0 / 0.6452 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.14, allocations: 11.98 kB / 0.6452 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.1401, allocations: 28.78 kB / 0.6452 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1401, allocations: 4 kB / 0.6452 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009808/0.1411, allocations: 1.422 MB / 0.6466 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1411, allocations: 3.984 kB / 0.6466 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1414, allocations: 240.1 kB / 0.6468 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.1415, allocations: 100.9 kB / 0.6469 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1415, allocations: 0 / 0.6469 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1417, allocations: 8 kB / 0.6469 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1417, allocations: 16.05 kB / 0.647 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1417, allocations: 4 kB / 0.647 GB, free: 4.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1418, allocations: 148.2 kB / 0.6471 GB, free: 4.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1418, allocations: 0 / 0.6471 GB, free: 4.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1422, allocations: 55.84 kB / 0.6471 GB, free: 4.098 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005438/0.1428, allocations: 0.7622 MB / 0.6479 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1432, allocations: 242.5 kB / 0.6481 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1432, allocations: 0 / 0.6481 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1434, allocations: 163.2 kB / 0.6483 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1438, allocations: 36.3 kB / 0.6483 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.146, allocations: 2.139 MB / 0.6504 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1464, allocations: 0.7554 MB / 0.6511 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.1465, allocations: 29.53 kB / 0.6512 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.1466, allocations: 59.36 kB / 0.6512 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1466, allocations: 0 / 0.6512 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.17, allocations: 4.02 MB / 0.6552 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/8.933, allocations: 12.58 kB / 0.6552 GB, free: 11.8 MB / 0.4981 GB (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/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)