Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009468/0.0009471, allocations: 188 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.3 MB / 0.7872 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 90.64 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.872e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.315, allocations: 178.5 MB / 1.387 GB, free: 17.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.315, allocations: 94.47 kB / 1.387 GB, free: 17.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04409/1.359, allocations: 19.94 MB / 1.406 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.359, allocations: 0 / 1.406 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.494e-05/1.359, allocations: 8 kB / 1.406 GB, free: 20.34 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009662/1.36, allocations: 0.5462 MB / 1.407 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.36, allocations: 8.031 kB / 1.407 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/1.361, allocations: 62.17 kB / 1.407 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008972/1.361, allocations: 103.3 kB / 1.407 GB, free: 19.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/1.362, allocations: 254.7 kB / 1.407 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.362, allocations: 15.73 kB / 1.407 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/1.362, allocations: 19 kB / 1.407 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/1.362, allocations: 363.1 kB / 1.408 GB, free: 19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.362, allocations: 0 / 1.408 GB, free: 19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/1.362, allocations: 17.62 kB / 1.408 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/1.363, allocations: 23.77 kB / 1.408 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/1.363, allocations: 332.6 kB / 1.408 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/1.365, allocations: 1.725 MB / 1.41 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/1.365, allocations: 334.8 kB / 1.41 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/1.365, allocations: 171.6 kB / 1.41 GB, free: 16.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/1.366, allocations: 85.11 kB / 1.41 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.366, allocations: 42.12 kB / 1.41 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/1.366, allocations: 4 kB / 1.41 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.005858/1.372, allocations: 1.715 MB / 1.412 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.372, allocations: 89.05 kB / 1.412 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.372, allocations: 165.7 kB / 1.412 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/1.372, allocations: 29.33 kB / 1.412 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/1.372, allocations: 147.9 kB / 1.412 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.372, allocations: 113.7 kB / 1.413 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/1.372, allocations: 7.875 kB / 1.413 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.372, allocations: 338.1 kB / 1.413 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/1.373, allocations: 220.1 kB / 1.413 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/1.373, allocations: 302 kB / 1.413 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/1.373, allocations: 264.6 kB / 1.414 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.373, allocations: 0 / 1.414 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009614/1.374, allocations: 0.5821 MB / 1.414 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003921/1.375, allocations: 0.8753 MB / 1.415 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.375, allocations: 4 kB / 1.415 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.375, allocations: 4 kB / 1.415 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.376, allocations: 175.4 kB / 1.415 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.376, allocations: 4 kB / 1.415 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/1.376, allocations: 51.31 kB / 1.415 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/1.377, allocations: 19.42 kB / 1.415 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.377, allocations: 4 kB / 1.415 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008338/1.377, allocations: 0.5158 MB / 1.416 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.377, allocations: 4.266 kB / 1.416 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/1.377, allocations: 8 kB / 1.416 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/1.378, allocations: 167.5 kB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.378, allocations: 7.984 kB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/1.379, allocations: 42.58 kB / 1.416 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/1.379, allocations: 23.94 kB / 1.416 GB, free: 11.51 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001511/1.379, allocations: 132.9 kB / 1.416 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/1.379, allocations: 27.22 kB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.38, allocations: 0.5997 MB / 1.417 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.38, allocations: 15.98 kB / 1.417 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.38, allocations: 0 / 1.417 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.38, allocations: 3.984 kB / 1.417 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.382, allocations: 1.31 MB / 1.418 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.382, allocations: 4 kB / 1.418 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/1.383, allocations: 118.4 kB / 1.418 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/1.383, allocations: 8.203 kB / 1.418 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/1.383, allocations: 13.44 kB / 1.418 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.383, allocations: 4 kB / 1.418 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.383, allocations: 4 kB / 1.418 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/1.384, allocations: 0.7581 MB / 1.419 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.384, allocations: 140.3 kB / 1.419 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/1.384, allocations: 10.19 kB / 1.419 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/1.385, allocations: 42.39 kB / 1.419 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.385, allocations: 35.02 kB / 1.419 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/1.385, allocations: 11.95 kB / 1.419 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001661/1.385, allocations: 150.5 kB / 1.419 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.385, allocations: 0 / 1.419 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007766/1.386, allocations: 160.7 kB / 1.419 GB, free: 8.453 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001649/1.387, allocations: 1.889 MB / 1.421 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.389, allocations: 0.7704 MB / 1.422 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.389, allocations: 3.938 kB / 1.422 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/1.389, allocations: 235.6 kB / 1.422 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/1.389, allocations: 34.72 kB / 1.422 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.391, allocations: 0.6556 MB / 1.423 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/1.391, allocations: 0.7887 MB / 1.424 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005874/1.392, allocations: 178.7 kB / 1.424 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.392, allocations: 80.84 kB / 1.424 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.392, allocations: 7.938 kB / 1.424 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/1.414, allocations: 6.886 MB / 1.431 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.414, allocations: 182.5 kB / 1.431 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/3.361, allocations: 0 / 1.431 GB, free: 13.36 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat