Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009462/0.000946, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001106/0.001106, allocations: 172.7 kB / 15.95 MB, free: 208 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.495/1.495, allocations: 223.2 MB / 240 MB, free: 5.328 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.51/2.51, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7459, allocations: 142.3 MB / 0.9538 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003436/0.7494, allocations: 2.668 MB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.7519, allocations: 1.759 MB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.7521, allocations: 11.25 kB / 0.9582 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.7523, allocations: 37.52 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.7527, allocations: 142.8 kB / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.7533, allocations: 171.6 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.7536, allocations: 366.9 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.7542, allocations: 317.3 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.7544, allocations: 107.8 kB / 0.9593 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.7546, allocations: 135.2 kB / 0.9594 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.7547, allocations: 10.84 kB / 0.9594 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.7552, allocations: 263.8 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.7553, allocations: 70.17 kB / 0.9597 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.7554, allocations: 67.33 kB / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.7558, allocations: 362.7 kB / 0.9601 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7558, allocations: 0 / 0.9601 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7558, allocations: 0 / 0.9601 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7558, allocations: 1 kB / 0.9601 GB, free: 3.52 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007983/0.7566, allocations: 0.5148 MB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.7567, allocations: 18.16 kB / 0.9607 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/0.7568, allocations: 54.8 kB / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.7576, allocations: 114.3 kB / 0.9608 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.758, allocations: 260.2 kB / 0.9611 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.7581, allocations: 12.12 kB / 0.9611 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.7581, allocations: 16.66 kB / 0.9611 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.7588, allocations: 353.3 kB / 0.9614 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.7588, allocations: 0 / 0.9614 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.7588, allocations: 15.12 kB / 0.9614 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.7589, allocations: 25.8 kB / 0.9615 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.7594, allocations: 288.5 kB / 0.9617 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.7613, allocations: 1.74 MB / 0.9634 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.7617, allocations: 331.8 kB / 0.9638 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.7619, allocations: 100.1 kB / 0.9639 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.7621, allocations: 86.84 kB / 0.9639 GB, free: 224 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.7621, allocations: 37.09 kB / 0.964 GB, free: 180 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.7621, allocations: 0 / 0.964 GB, free: 180 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.002947/0.7651, allocations: 0.9855 MB / 0.9649 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.7652, allocations: 84.42 kB / 0.965 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.7655, allocations: 223.8 kB / 0.9652 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.7655, allocations: 25.8 kB / 0.9653 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.7656, allocations: 174.3 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.7657, allocations: 71.73 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.7657, allocations: 4 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7659, allocations: 334.1 kB / 0.9658 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.7661, allocations: 128.6 kB / 0.9659 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.7664, allocations: 212.5 kB / 0.9661 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.7667, allocations: 166.8 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7667, allocations: 1.094 kB / 0.9663 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008973/0.7676, allocations: 0.5102 MB / 0.9668 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7676, allocations: 6.031 kB / 0.9668 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7677, allocations: 3.469 kB / 0.9668 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.7682, allocations: 153.6 kB / 0.967 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.7685, allocations: 64.3 kB / 0.967 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.7717, allocations: 3.961 MB / 0.9709 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.7719, allocations: 21.2 kB / 0.9709 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.772, allocations: 14.28 kB / 0.9709 GB, free: 10.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.7723, allocations: 167.5 kB / 0.9711 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.7724, allocations: 21.88 kB / 0.9711 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000981/0.7734, allocations: 472.6 kB / 0.9715 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.7734, allocations: 3.188 kB / 0.9715 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7734, allocations: 1 kB / 0.9715 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.7734, allocations: 0.9688 kB / 0.9716 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.7751, allocations: 1.007 MB / 0.9725 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7752, allocations: 6.625 kB / 0.9725 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.7753, allocations: 33.95 kB / 0.9726 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.7758, allocations: 147.9 kB / 0.9727 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.7758, allocations: 12.61 kB / 0.9727 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.7786, allocations: 3.93 MB / 0.9766 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7786, allocations: 10.34 kB / 0.9766 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.7795, allocations: 0.6334 MB / 0.9772 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.7797, allocations: 127.3 kB / 0.9773 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.7797, allocations: 8.312 kB / 0.9773 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.78, allocations: 18.64 kB / 0.9773 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.78, allocations: 25.78 kB / 0.9774 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.7801, allocations: 16.86 kB / 0.9774 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001869/0.7803, allocations: 156.1 kB / 0.9775 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7803, allocations: 1.406 kB / 0.9775 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006398/0.7809, allocations: 85.72 kB / 0.9776 GB, free: 3.938 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.7822, allocations: 1.202 MB / 0.9788 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009393/0.7831, allocations: 0.5664 MB / 0.9793 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7831, allocations: 4.938 kB / 0.9793 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.7837, allocations: 397.5 kB / 0.9797 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.7843, allocations: 45.23 kB / 0.9798 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.7873, allocations: 1.808 MB / 0.9815 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.7877, allocations: 0.7836 MB / 0.9823 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.7879, allocations: 62.92 kB / 0.9824 GB, free: 64 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.788, allocations: 71.67 kB / 0.9824 GB, free: 4 kB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/0.788, allocations: 0 / 0.9824 GB, free: 4 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.8136, allocations: 6.205 MB / 0.9885 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.8139, allocations: 213.7 kB / 0.9887 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.763, allocations: 4 kB / 0.9887 GB, free: 11.09 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat does not exist to compare? outputFormat=mat