Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_9_Buildings_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.0009898/0.0009899, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8158, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002678/0.8185, allocations: 2.255 MB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.8202, allocations: 1.222 MB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.8203, allocations: 2.25 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.8205, allocations: 28.28 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.8209, allocations: 120.2 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.8212, allocations: 138.2 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.8215, allocations: 300.6 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.822, allocations: 295.9 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.8221, allocations: 84.22 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.8223, allocations: 118 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.8224, allocations: 7 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.8225, allocations: 70.92 kB / 0.9584 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.8226, allocations: 61.39 kB / 0.9584 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.8227, allocations: 57.36 kB / 0.9585 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.8229, allocations: 211 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8229, allocations: 4.938 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8229, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8229, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB 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.000627/0.8236, allocations: 471.4 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.8236, allocations: 13.31 kB / 0.9592 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.8237, allocations: 49.67 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.8242, allocations: 70.7 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.8244, allocations: 238.1 kB / 0.9595 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.8245, allocations: 10.31 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.8245, allocations: 10.22 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.8251, allocations: 319.2 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8251, allocations: 0 / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.8251, allocations: 10.69 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.8252, allocations: 26.14 kB / 0.9599 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.8257, allocations: 271.5 kB / 0.9601 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.8272, allocations: 1.505 MB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.8278, allocations: 270.9 kB / 0.9618 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.8281, allocations: 132 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.8281, allocations: 5.266 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.8281, allocations: 43.86 kB / 0.962 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.8281, allocations: 0.9688 kB / 0.962 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008205/0.829, allocations: 355.8 kB / 0.9624 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.829, allocations: 83.88 kB / 0.9624 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.8292, allocations: 171.2 kB / 0.9626 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.8292, allocations: 34.56 kB / 0.9626 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.8293, allocations: 137 kB / 0.9628 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.8293, allocations: 54.38 kB / 0.9628 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.8294, allocations: 4.969 kB / 0.9628 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.8294, allocations: 322.8 kB / 0.9631 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.8297, allocations: 115.8 kB / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.8299, allocations: 172 kB / 0.9634 GB, free: 380 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.8302, allocations: 129.6 kB / 0.9635 GB, free: 316 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8302, allocations: 1.125 kB / 0.9635 GB, free: 316 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000534/0.8307, allocations: 319.8 kB / 0.9638 GB, free: 144 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.8308, allocations: 139.7 kB / 0.964 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8308, allocations: 1.344 kB / 0.964 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.8309, allocations: 3.5 kB / 0.964 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.8312, allocations: 65.77 kB / 0.964 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8312, allocations: 2.656 kB / 0.964 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.8314, allocations: 31.59 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.8314, allocations: 11.81 kB / 0.9641 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.8314, allocations: 3.25 kB / 0.9641 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005337/0.832, allocations: 247.8 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.832, allocations: 6.469 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.832, allocations: 2.375 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.8322, allocations: 51.72 kB / 0.9644 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.8322, allocations: 10.41 kB / 0.9644 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.8324, allocations: 33.92 kB / 0.9644 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.8324, allocations: 8.625 kB / 0.9644 GB, free: 15.78 MB / 0.7325 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.8326, allocations: 217.9 kB / 0.9646 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.8327, allocations: 18.86 kB / 0.9647 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.8332, allocations: 282.2 kB / 0.9649 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.8332, allocations: 2.469 kB / 0.9649 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8333, allocations: 5.047 kB / 0.9649 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8333, allocations: 3.984 kB / 0.9649 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.8344, allocations: 0.6837 MB / 0.9656 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8344, allocations: 0.9375 kB / 0.9656 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.8347, allocations: 50.22 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8347, allocations: 2.062 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.8347, allocations: 11.06 kB / 0.9657 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.8347, allocations: 9.953 kB / 0.9657 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.8347, allocations: 5.906 kB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.8353, allocations: 449.4 kB / 0.9661 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.8355, allocations: 111.6 kB / 0.9662 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.8355, allocations: 10.52 kB / 0.9662 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.8357, allocations: 24.09 kB / 0.9662 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.8358, allocations: 18.17 kB / 0.9663 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.8359, allocations: 12.98 kB / 0.9663 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001297/0.836, allocations: 134.1 kB / 0.9664 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.836, allocations: 1 kB / 0.9664 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005541/0.8366, allocations: 88.41 kB / 0.9665 GB, free: 14.18 MB / 0.7325 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009048/0.8375, allocations: 0.9953 MB / 0.9675 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.8383, allocations: 378.9 kB / 0.9678 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8383, allocations: 1.031 kB / 0.9678 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.8386, allocations: 119.5 kB / 0.9679 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.8391, allocations: 52.39 kB / 0.968 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.8415, allocations: 1.253 MB / 0.9692 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.8418, allocations: 0.7443 MB / 0.9699 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.8421, allocations: 75.47 kB / 0.97 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.8422, allocations: 52.52 kB / 0.9701 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.8422, allocations: 0 / 0.9701 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.8582, allocations: 3.767 MB / 0.9737 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.8585, allocations: 202 kB / 0.9739 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.707, allocations: 0 / 0.9739 GB, free: 9.359 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat does not exist to compare? outputFormat=mat