Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.001239/0.001239, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001499/0.001499, allocations: 177.3 kB / 15.95 MB, free: 216 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.368/2.368, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7375, allocations: 142.3 MB / 0.9536 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004138/0.7417, allocations: 3.5 MB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.7441, allocations: 1.474 MB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.7443, allocations: 9.656 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.7445, allocations: 65.38 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.745, allocations: 150.2 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.7455, allocations: 164.4 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.7459, allocations: 309.1 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.7464, allocations: 386.2 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.7466, allocations: 152.3 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.7469, allocations: 170.6 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.7469, allocations: 23.19 kB / 0.9598 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.7471, allocations: 85.33 kB / 0.9599 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.7473, allocations: 115.2 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.7474, allocations: 87.14 kB / 0.9601 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.7477, allocations: 400.1 kB / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7478, allocations: 0 / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7478, allocations: 1 kB / 0.9605 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.7478, allocations: 0 / 0.9605 GB, free: 3.125 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001044/0.7488, allocations: 0.6224 MB / 0.9611 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.7489, allocations: 9.156 kB / 0.9611 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.589e-05/0.749, allocations: 84.19 kB / 0.9612 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.7498, allocations: 114.3 kB / 0.9613 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.7502, allocations: 290.9 kB / 0.9615 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.7503, allocations: 54.36 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.7503, allocations: 30.31 kB / 0.9616 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.7512, allocations: 0.5099 MB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7512, allocations: 0 / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.7513, allocations: 19.95 kB / 0.9621 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.7514, allocations: 28.52 kB / 0.9622 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.7521, allocations: 388.2 kB / 0.9625 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.7543, allocations: 2.221 MB / 0.9647 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.7551, allocations: 274 kB / 0.965 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.7552, allocations: 10.77 kB / 0.965 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.7552, allocations: 32.09 kB / 0.965 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.7552, allocations: 0 / 0.965 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.00163/0.7569, allocations: 0.6021 MB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.7569, allocations: 54.66 kB / 0.9657 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.7572, allocations: 225.9 kB / 0.9659 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.7573, allocations: 27.67 kB / 0.9659 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.7574, allocations: 210.3 kB / 0.9661 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.7574, allocations: 59.86 kB / 0.9662 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.7575, allocations: 4.906 kB / 0.9662 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7576, allocations: 335.7 kB / 0.9665 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.7578, allocations: 97.19 kB / 0.9666 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.7581, allocations: 190.1 kB / 0.9668 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.7584, allocations: 121.4 kB / 0.9669 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7584, allocations: 0.7812 kB / 0.9669 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008867/0.7593, allocations: 390.6 kB / 0.9672 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003439/0.7597, allocations: 0.8831 MB / 0.9681 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7597, allocations: 2 kB / 0.9681 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.7602, allocations: 113.1 kB / 0.9682 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.7605, allocations: 52.44 kB / 0.9683 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.7639, allocations: 2.871 MB / 0.9711 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.7642, allocations: 34.17 kB / 0.9711 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.7642, allocations: 12.09 kB / 0.9711 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.7642, allocations: 4 kB / 0.9711 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007832/0.765, allocations: 320.8 kB / 0.9714 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.765, allocations: 6.422 kB / 0.9714 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.7653, allocations: 79.36 kB / 0.9715 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.7656, allocations: 59.27 kB / 0.9716 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.7674, allocations: 1.514 MB / 0.973 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.7676, allocations: 29.3 kB / 0.9731 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7677, allocations: 8.219 kB / 0.9731 GB, free: 8.008 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.7679, allocations: 263.1 kB / 0.9733 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.768, allocations: 21.75 kB / 0.9733 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.7681, allocations: 28.31 kB / 0.9734 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7681, allocations: 2 kB / 0.9734 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7681, allocations: 3.984 kB / 0.9734 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7681, allocations: 1.344 kB / 0.9734 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.7686, allocations: 373.6 kB / 0.9737 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7686, allocations: 5.469 kB / 0.9737 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.7688, allocations: 36.31 kB / 0.9738 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.7691, allocations: 107.4 kB / 0.9739 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.7692, allocations: 5.031 kB / 0.9739 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.7719, allocations: 2.822 MB / 0.9766 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7719, allocations: 0 / 0.9766 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.7728, allocations: 418.9 kB / 0.977 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.773, allocations: 117.7 kB / 0.9772 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.773, allocations: 5.219 kB / 0.9772 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.7732, allocations: 22.75 kB / 0.9772 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.7733, allocations: 16.25 kB / 0.9772 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.7733, allocations: 8.312 kB / 0.9772 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001935/0.7735, allocations: 165.3 kB / 0.9774 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7735, allocations: 0 / 0.9774 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008131/0.7744, allocations: 173.6 kB / 0.9775 GB, free: 3.918 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.7756, allocations: 0.9426 MB / 0.9784 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.7776, allocations: 0.7716 MB / 0.9792 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7777, allocations: 0.9062 kB / 0.9792 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.7785, allocations: 376.1 kB / 0.9796 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.7789, allocations: 50 kB / 0.9796 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.7823, allocations: 3.023 MB / 0.9826 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.7827, allocations: 0.8228 MB / 0.9834 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.7829, allocations: 58.5 kB / 0.9834 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.7831, allocations: 89.72 kB / 0.9835 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of SimCode: time 1.213e-06/0.7831, allocations: 0 / 0.9835 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.8019, allocations: 6.464 MB / 0.9898 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.8022, allocations: 212 kB / 0.99 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.587, allocations: 3.938 kB / 0.99 GB, free: 9.531 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat