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.0009866/0.0009866, allocations: 107.9 kB / 15.99 MB, free: 6.332 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.000952/0.0009521, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.227/1.227, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6521/0.6521, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3131, allocations: 76.18 MB / 0.556 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00311/0.3162, allocations: 2.673 MB / 0.5586 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3178, allocations: 1.297 MB / 0.5599 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.3178, allocations: 4.375 kB / 0.5599 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.3184, allocations: 174.6 kB / 0.5601 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.3188, allocations: 153.7 kB / 0.5602 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3191, allocations: 148.9 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.3195, allocations: 261.4 kB / 0.5606 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.3198, allocations: 156.8 kB / 0.5608 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.32, allocations: 109.5 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.3203, allocations: 132.3 kB / 0.561 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.3203, allocations: 14.06 kB / 0.561 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3206, allocations: 140.8 kB / 0.5611 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.3207, allocations: 68.83 kB / 0.5612 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.3208, allocations: 96.45 kB / 0.5613 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.3212, allocations: 310.8 kB / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3212, allocations: 0 / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3212, allocations: 1.25 kB / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3212, allocations: 0.6562 kB / 0.5616 GB, free: 32.12 MB / 446.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.0007161/0.322, allocations: 0.4911 MB / 0.5621 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.322, allocations: 11.27 kB / 0.5621 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.3221, allocations: 48.94 kB / 0.5621 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.3225, allocations: 70.77 kB / 0.5622 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.3228, allocations: 242.7 kB / 0.5624 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3228, allocations: 9.844 kB / 0.5624 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.3228, allocations: 10.62 kB / 0.5625 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.3234, allocations: 321.7 kB / 0.5628 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3234, allocations: 1.25 kB / 0.5628 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3234, allocations: 5.734 kB / 0.5628 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.3235, allocations: 29.97 kB / 0.5628 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.324, allocations: 261.4 kB / 0.563 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3253, allocations: 1.494 MB / 0.5645 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.3257, allocations: 261.2 kB / 0.5648 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.326, allocations: 132.7 kB / 0.5649 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.326, allocations: 6.203 kB / 0.5649 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.326, allocations: 36.75 kB / 0.5649 GB, free: 29.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.326, allocations: 3.938 kB / 0.5649 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006748/0.3267, allocations: 347.7 kB / 0.5653 GB, free: 29.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3267, allocations: 82.73 kB / 0.5653 GB, free: 29.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3269, allocations: 178.1 kB / 0.5655 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3269, allocations: 29.7 kB / 0.5655 GB, free: 29.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.327, allocations: 140.2 kB / 0.5657 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.327, allocations: 55.09 kB / 0.5657 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.3271, allocations: 44.2 kB / 0.5658 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.3272, allocations: 331.6 kB / 0.5661 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3274, allocations: 104.2 kB / 0.5662 GB, free: 28.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3276, allocations: 168.9 kB / 0.5663 GB, free: 28.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.328, allocations: 282.9 kB / 0.5666 GB, free: 28.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3281, allocations: 1.219 kB / 0.5666 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005253/0.3286, allocations: 304.5 kB / 0.5669 GB, free: 28.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3286, allocations: 6.156 kB / 0.5669 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3286, allocations: 6.281 kB / 0.5669 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3286, allocations: 4.062 kB / 0.5669 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.3289, allocations: 55.52 kB / 0.567 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3289, allocations: 3.953 kB / 0.567 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.3291, allocations: 37.69 kB / 0.567 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3292, allocations: 12.39 kB / 0.567 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002373/0.3294, allocations: 197.5 kB / 0.5672 GB, free: 28.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001956/0.3296, allocations: 159.5 kB / 0.5674 GB, free: 28.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003457/0.33, allocations: 250.5 kB / 0.5676 GB, free: 27.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.33, allocations: 1.719 kB / 0.5676 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004518/0.3304, allocations: 277.1 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.3304, allocations: 6.375 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3304, allocations: 3.016 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.3305, allocations: 3.688 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3307, allocations: 51.27 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3307, allocations: 4.531 kB / 0.5679 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3308, allocations: 31.59 kB / 0.568 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3309, allocations: 5.719 kB / 0.568 GB, free: 27.75 MB / 446.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 7.505e-05/0.3309, allocations: 200.3 kB / 0.5682 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.331, allocations: 20.98 kB / 0.5682 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.3315, allocations: 259.5 kB / 0.5684 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3315, allocations: 2.219 kB / 0.5684 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3315, allocations: 1.344 kB / 0.5684 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3315, allocations: 4.344 kB / 0.5684 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.3324, allocations: 0.6821 MB / 0.5691 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3324, allocations: 1.953 kB / 0.5691 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.3327, allocations: 46.73 kB / 0.5691 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3327, allocations: 13.19 kB / 0.5692 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3327, allocations: 6.375 kB / 0.5692 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3327, allocations: 7.016 kB / 0.5692 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3327, allocations: 2.219 kB / 0.5692 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3332, allocations: 454.5 kB / 0.5696 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.3333, allocations: 109.4 kB / 0.5697 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3333, allocations: 12.47 kB / 0.5697 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3335, allocations: 16.67 kB / 0.5697 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3336, allocations: 15.78 kB / 0.5698 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3336, allocations: 6.797 kB / 0.5698 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.3337, allocations: 129.4 kB / 0.5699 GB, free: 26.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3337, allocations: 1.094 kB / 0.5699 GB, free: 26.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.3341, allocations: 81.34 kB / 0.57 GB, free: 26.44 MB / 446.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.0005983/0.3347, allocations: 0.9827 MB / 0.5709 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.3354, allocations: 393.7 kB / 0.5713 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3354, allocations: 1.625 kB / 0.5713 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3356, allocations: 117.5 kB / 0.5714 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.3361, allocations: 35.44 kB / 0.5714 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.3387, allocations: 2.518 MB / 0.5739 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.339, allocations: 0.7411 MB / 0.5746 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.3392, allocations: 77.92 kB / 0.5747 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3393, allocations: 51.41 kB / 0.5748 GB, free: 22.81 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3393, allocations: 4 kB / 0.5748 GB, free: 22.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.5978, allocations: 3.999 MB / 0.5787 GB, free: 22.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.598, allocations: 219.8 kB / 0.5789 GB, free: 22.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.372, allocations: 0 / 0.5789 GB, free: 22.21 MB / 446.1 MB (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)