Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001204/0.001204, allocations: 98.69 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.001642/0.001642, 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.437/1.437, allocations: 223.2 MB / 239.9 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.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8212, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002136/0.8234, allocations: 2.033 MB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.8249, allocations: 1.292 MB / 0.9569 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.825, allocations: 6.531 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.8251, allocations: 25.48 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.8254, allocations: 88.59 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.8257, allocations: 144.2 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.8259, allocations: 119.8 kB / 0.9572 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.8262, allocations: 229 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.8263, allocations: 55.05 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.8265, allocations: 70.59 kB / 0.9576 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.8266, allocations: 7.125 kB / 0.9576 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.8267, allocations: 116 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.8268, allocations: 44.8 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.8268, allocations: 55.67 kB / 0.9578 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.8271, allocations: 203.4 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8271, allocations: 0 / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8271, allocations: 0 / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8271, allocations: 0 / 0.958 GB, free: 4.785 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005697/0.8277, allocations: 456.9 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8277, allocations: 9.844 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.8278, allocations: 47.89 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.8283, allocations: 70.36 kB / 0.9585 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.8285, allocations: 221.8 kB / 0.9587 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.8286, allocations: 12.8 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.8286, allocations: 13.97 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.829, allocations: 278.9 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.829, allocations: 1 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.829, allocations: 15.19 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.8291, allocations: 13.2 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.8294, allocations: 216.8 kB / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.8308, allocations: 1.569 MB / 0.9608 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.8311, allocations: 316.6 kB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.8312, allocations: 9.328 kB / 0.9611 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.8312, allocations: 36.27 kB / 0.9611 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.8312, allocations: 0 / 0.9611 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000506/0.8317, allocations: 241.5 kB / 0.9614 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.8317, allocations: 91.47 kB / 0.9615 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.8319, allocations: 195.1 kB / 0.9616 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.8319, allocations: 26.45 kB / 0.9617 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.832, allocations: 153.8 kB / 0.9618 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.832, allocations: 44.44 kB / 0.9619 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.832, allocations: 5 kB / 0.9619 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.8321, allocations: 322.9 kB / 0.9622 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.8322, allocations: 65.8 kB / 0.9622 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.8323, allocations: 162.7 kB / 0.9624 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.8325, allocations: 89.88 kB / 0.9625 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8325, allocations: 5.047 kB / 0.9625 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003437/0.8328, allocations: 259.8 kB / 0.9627 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.8331, allocations: 1.134 MB / 0.9638 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8332, allocations: 6.594 kB / 0.9638 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8332, allocations: 4.906 kB / 0.9638 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.8334, allocations: 49.94 kB / 0.9639 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.8334, allocations: 7.75 kB / 0.9639 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8336, allocations: 23.98 kB / 0.9639 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.8336, allocations: 12.56 kB / 0.9639 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.8336, allocations: 7.328 kB / 0.9639 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003028/0.8339, allocations: 191 kB / 0.9641 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8339, allocations: 3 kB / 0.9641 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.834, allocations: 4.875 kB / 0.9641 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.8341, allocations: 52.16 kB / 0.9642 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8341, allocations: 8.062 kB / 0.9642 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8342, allocations: 9.859 kB / 0.9642 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.8343, allocations: 12.84 kB / 0.9642 GB, free: 15.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.8345, allocations: 222.5 kB / 0.9644 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.8345, allocations: 23.2 kB / 0.9644 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.8348, allocations: 142.8 kB / 0.9646 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8348, allocations: 1.062 kB / 0.9646 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8348, allocations: 1.219 kB / 0.9646 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8348, allocations: 1.125 kB / 0.9646 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.8357, allocations: 0.7142 MB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8357, allocations: 2.688 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8358, allocations: 25.61 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8359, allocations: 3.844 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.8359, allocations: 12.42 kB / 0.9653 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8359, allocations: 3.688 kB / 0.9653 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.8359, allocations: 6.562 kB / 0.9653 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.8363, allocations: 495.2 kB / 0.9658 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.8364, allocations: 116.8 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.8365, allocations: 7.438 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.8366, allocations: 10.36 kB / 0.9659 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.8367, allocations: 8.875 kB / 0.9659 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.8367, allocations: 17.98 kB / 0.966 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001418/0.8368, allocations: 145.8 kB / 0.9661 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8369, allocations: 1.188 kB / 0.9661 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005273/0.8374, allocations: 66.78 kB / 0.9662 GB, free: 13.36 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0009863/0.8384, allocations: 1.722 MB / 0.9678 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.8389, allocations: 263.1 kB / 0.9681 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8389, allocations: 0 / 0.9681 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.839, allocations: 64.3 kB / 0.9682 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.8394, allocations: 30.44 kB / 0.9682 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.842, allocations: 2.952 MB / 0.9711 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.8424, allocations: 0.7436 MB / 0.9718 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.8426, allocations: 78.17 kB / 0.9719 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.8427, allocations: 48.52 kB / 0.9719 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8427, allocations: 0 / 0.9719 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.8566, allocations: 3.284 MB / 0.9751 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.8568, allocations: 200.3 kB / 0.9753 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.547, allocations: 1.625 kB / 0.9753 GB, free: 6.207 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat