Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.001209/0.001209, allocations: 106.5 kB / 16.4 MB, free: 6.504 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.001218/0.001218, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6638/0.6638, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 65.92 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1122, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003461/0.1157, allocations: 2.627 MB / 0.6342 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1175, allocations: 1.309 MB / 0.6354 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.1176, allocations: 4 kB / 0.6354 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1182, allocations: 183.1 kB / 0.6356 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1185, allocations: 175.2 kB / 0.6358 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1188, allocations: 159.7 kB / 0.6359 GB, free: 480 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1191, allocations: 259.1 kB / 0.6362 GB, free: 220 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1194, allocations: 145.5 kB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1195, allocations: 107.7 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1197, allocations: 119.5 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1198, allocations: 16 kB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.12, allocations: 155.6 kB / 0.6367 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1201, allocations: 59.86 kB / 0.6368 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.1202, allocations: 91.55 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1205, allocations: 306.7 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1205, allocations: 0 / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1205, allocations: 0 / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1205, allocations: 0 / 0.6371 GB, free: 15.24 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006636/0.1212, allocations: 494.9 kB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1212, allocations: 11.97 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.1213, allocations: 50.73 kB / 0.6377 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.1217, allocations: 68.67 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.122, allocations: 244.5 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.122, allocations: 12.59 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.122, allocations: 16.36 kB / 0.638 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.1225, allocations: 316.5 kB / 0.6383 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1225, allocations: 3.938 kB / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1225, allocations: 4 kB / 0.6383 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.1226, allocations: 28.27 kB / 0.6383 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.123, allocations: 264.6 kB / 0.6386 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1244, allocations: 1.498 MB / 0.64 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.1248, allocations: 257.1 kB / 0.6403 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1251, allocations: 129.6 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1251, allocations: 3.938 kB / 0.6404 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1251, allocations: 38.56 kB / 0.6405 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.1251, allocations: 0 / 0.6405 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006656/0.1258, allocations: 339.7 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1258, allocations: 85.05 kB / 0.6409 GB, free: 11.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.126, allocations: 182.7 kB / 0.641 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.126, allocations: 29.7 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.1261, allocations: 136.1 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1261, allocations: 55.2 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.1262, allocations: 45.7 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1263, allocations: 330.8 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1265, allocations: 108.6 kB / 0.6417 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1268, allocations: 164.7 kB / 0.6419 GB, free: 9.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.1272, allocations: 285.6 kB / 0.6421 GB, free: 9.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1272, allocations: 0 / 0.6421 GB, free: 9.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004894/0.1277, allocations: 313.1 kB / 0.6424 GB, free: 9.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1277, allocations: 4 kB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1277, allocations: 0 / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1277, allocations: 4 kB / 0.6424 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.128, allocations: 59.94 kB / 0.6425 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.128, allocations: 7.938 kB / 0.6425 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.1282, allocations: 32.03 kB / 0.6425 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1282, allocations: 15.94 kB / 0.6426 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000226/0.1284, allocations: 192.1 kB / 0.6427 GB, free: 9.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001915/0.1286, allocations: 151.2 kB / 0.6429 GB, free: 8.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003433/0.129, allocations: 251.5 kB / 0.6431 GB, free: 8.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.129, allocations: 0 / 0.6431 GB, free: 8.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004303/0.1294, allocations: 275 kB / 0.6434 GB, free: 8.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.1294, allocations: 5.812 kB / 0.6434 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1294, allocations: 8 kB / 0.6434 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-06/0.1295, allocations: 7.984 kB / 0.6434 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1297, allocations: 51.91 kB / 0.6435 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1297, allocations: 4 kB / 0.6435 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1298, allocations: 31.81 kB / 0.6435 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1298, allocations: 8 kB / 0.6435 GB, free: 8.234 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 9.99e-05/0.1299, allocations: 196.7 kB / 0.6437 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.13, allocations: 19.75 kB / 0.6437 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.1305, allocations: 274.9 kB / 0.644 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1305, allocations: 4 kB / 0.644 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1305, allocations: 0 / 0.644 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1305, allocations: 0 / 0.644 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/0.1314, allocations: 0.681 MB / 0.6446 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1314, allocations: 8 kB / 0.6446 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1317, allocations: 43.95 kB / 0.6447 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1317, allocations: 7.875 kB / 0.6447 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1317, allocations: 8 kB / 0.6447 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1317, allocations: 0 / 0.6447 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1317, allocations: 4 kB / 0.6447 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.1322, allocations: 444.8 kB / 0.6451 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.1323, allocations: 124.8 kB / 0.6452 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1323, allocations: 7.938 kB / 0.6453 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1325, allocations: 23.97 kB / 0.6453 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1326, allocations: 15.92 kB / 0.6453 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1326, allocations: 4 kB / 0.6453 GB, free: 6.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.1327, allocations: 131.2 kB / 0.6454 GB, free: 6.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1327, allocations: 0 / 0.6454 GB, free: 6.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1331, allocations: 79.84 kB / 0.6455 GB, free: 6.055 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0006858/0.1338, allocations: 0.992 MB / 0.6465 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.1344, allocations: 372.3 kB / 0.6468 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1344, allocations: 0 / 0.6468 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1346, allocations: 116 kB / 0.6469 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.135, allocations: 34.05 kB / 0.647 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1376, allocations: 2.469 MB / 0.6494 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1379, allocations: 0.7402 MB / 0.6501 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.138, allocations: 77.47 kB / 0.6502 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1381, allocations: 55.36 kB / 0.6502 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1381, allocations: 0 / 0.6502 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.1563, allocations: 4.208 MB / 0.6543 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.12, allocations: 8 kB / 0.6543 GB, free: 12.91 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)