Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001253/0.001253, allocations: 110 kB / 16.41 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.00123/0.00123, allocations: 193.2 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6892/0.6892, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.17 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 76.19 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003716/0.1319, allocations: 2.405 MB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1344, allocations: 1.571 MB / 0.6355 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1346, allocations: 4 kB / 0.6355 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.1352, allocations: 175.2 kB / 0.6356 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.1356, allocations: 155.3 kB / 0.6358 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1361, allocations: 187.5 kB / 0.636 GB, free: 412 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.1365, allocations: 211.4 kB / 0.6362 GB, free: 200 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.1367, allocations: 123.8 kB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1369, allocations: 95.67 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1371, allocations: 99.64 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1371, allocations: 12 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1374, allocations: 211.6 kB / 0.6367 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.1375, allocations: 67.75 kB / 0.6368 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.1376, allocations: 79.59 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.138, allocations: 304 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.138, allocations: 3.938 kB / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.138, allocations: 0 / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1381, allocations: 0 / 0.6371 GB, free: 15.22 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007632/0.1388, allocations: 487.1 kB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1389, allocations: 8.031 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.1389, allocations: 54.72 kB / 0.6377 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/0.1396, allocations: 88.58 kB / 0.6377 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1399, allocations: 228 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1399, allocations: 12.66 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.14, allocations: 20.36 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.1405, allocations: 291.4 kB / 0.6383 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1405, allocations: 7.984 kB / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1405, allocations: 0 / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.1406, allocations: 16.23 kB / 0.6383 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.141, allocations: 228.4 kB / 0.6385 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1428, allocations: 1.591 MB / 0.6401 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1432, allocations: 319.3 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.1433, allocations: 69.67 kB / 0.6404 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1433, allocations: 4 kB / 0.6404 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1433, allocations: 30.56 kB / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.1433, allocations: 0 / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004885/0.1438, allocations: 252.9 kB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1439, allocations: 81.05 kB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1441, allocations: 207.6 kB / 0.641 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1441, allocations: 29.7 kB / 0.641 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1443, allocations: 155.6 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.1444, allocations: 39.45 kB / 0.6412 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.1444, allocations: 45.69 kB / 0.6412 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.1445, allocations: 326.8 kB / 0.6415 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1447, allocations: 76.81 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1449, allocations: 165.1 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1452, allocations: 250.8 kB / 0.642 GB, free: 9.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1452, allocations: 0 / 0.642 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004548/0.1457, allocations: 269.2 kB / 0.6423 GB, free: 9.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1457, allocations: 11.98 kB / 0.6423 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1457, allocations: 0 / 0.6423 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1457, allocations: 7.938 kB / 0.6423 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.146, allocations: 55.91 kB / 0.6423 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.146, allocations: 8.016 kB / 0.6424 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.1463, allocations: 28.22 kB / 0.6424 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1463, allocations: 11.98 kB / 0.6424 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001883/0.1465, allocations: 172 kB / 0.6426 GB, free: 9.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001713/0.1467, allocations: 159.9 kB / 0.6427 GB, free: 8.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002588/0.147, allocations: 215.8 kB / 0.6429 GB, free: 8.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.147, allocations: 3.984 kB / 0.6429 GB, free: 8.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004074/0.1474, allocations: 249.4 kB / 0.6432 GB, free: 8.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1474, allocations: 12.03 kB / 0.6432 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1474, allocations: 4 kB / 0.6432 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.459e-06/0.1474, allocations: 4 kB / 0.6432 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1476, allocations: 55.84 kB / 0.6432 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1477, allocations: 4 kB / 0.6432 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1479, allocations: 15.98 kB / 0.6432 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1479, allocations: 12 kB / 0.6433 GB, free: 8.359 MB / 494.1 MB 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 8.746e-05/0.148, allocations: 200.1 kB / 0.6434 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.148, allocations: 15.81 kB / 0.6435 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.1484, allocations: 146.9 kB / 0.6436 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1484, allocations: 0 / 0.6436 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1484, allocations: 4 kB / 0.6436 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1484, allocations: 0 / 0.6436 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.1493, allocations: 0.7235 MB / 0.6443 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1493, allocations: 0 / 0.6443 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.1494, allocations: 27.97 kB / 0.6443 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1494, allocations: 11.97 kB / 0.6444 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1494, allocations: 8.469 kB / 0.6444 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1494, allocations: 12 kB / 0.6444 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1494, allocations: 0 / 0.6444 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1497, allocations: 374.2 kB / 0.6447 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.1498, allocations: 112.8 kB / 0.6448 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1498, allocations: 8 kB / 0.6448 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.15, allocations: 11.98 kB / 0.6449 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1501, allocations: 19.88 kB / 0.6449 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1502, allocations: 4 kB / 0.6449 GB, free: 6.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1504, allocations: 160.8 kB / 0.645 GB, free: 6.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1504, allocations: 0 / 0.645 GB, free: 6.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.1509, allocations: 72 kB / 0.6451 GB, free: 6.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0005578/0.1515, allocations: 0.9104 MB / 0.646 GB, free: 5.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.1519, allocations: 292.6 kB / 0.6463 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.152, allocations: 0 / 0.6463 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.152, allocations: 61.22 kB / 0.6463 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.1526, allocations: 34.19 kB / 0.6464 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1551, allocations: 2.366 MB / 0.6487 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1554, allocations: 0.7285 MB / 0.6494 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.1556, allocations: 77.47 kB / 0.6495 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.1557, allocations: 47.41 kB / 0.6495 GB, free: 1.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1557, allocations: 0 / 0.6495 GB, free: 1.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1764, allocations: 3.687 MB / 0.6531 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/7.071, allocations: 9.469 kB / 0.6531 GB, free: 13.94 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)