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.362/2.362, allocations: 387.4 MB / 394.8 MB, free: 13.37 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.001006/0.001006, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009462, allocations: 91.86 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.227e-05, allocations: 3.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.273, allocations: 177.8 MB / 1.38 GB, free: 17.83 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.273, allocations: 100 kB / 1.38 GB, free: 17.83 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0441/1.318, allocations: 19.87 MB / 1.399 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.946e-06/1.318, allocations: 4 kB / 1.399 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.509e-05/1.318, allocations: 7.875 kB / 1.399 GB, free: 25.75 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.001152/1.319, allocations: 0.5379 MB / 1.4 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/1.319, allocations: 7.688 kB / 1.4 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/1.32, allocations: 101.5 kB / 1.4 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/1.32, allocations: 259.9 kB / 1.4 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.32, allocations: 7.781 kB / 1.4 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/1.32, allocations: 11.56 kB / 1.4 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000426/1.321, allocations: 253.8 kB / 1.4 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/1.321, allocations: 332.6 kB / 1.401 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.321, allocations: 7.844 kB / 1.401 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/1.321, allocations: 0 / 1.401 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/1.321, allocations: 26.58 kB / 1.401 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/1.323, allocations: 1.671 MB / 1.402 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/1.323, allocations: 322.6 kB / 1.403 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.324, allocations: 165.6 kB / 1.403 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/1.324, allocations: 88.5 kB / 1.403 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.324, allocations: 37.81 kB / 1.403 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.522e-06/1.324, allocations: 0 / 1.403 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002601/1.326, allocations: 1.106 MB / 1.404 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.327, allocations: 84.66 kB / 1.404 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.327, allocations: 152.5 kB / 1.404 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/1.327, allocations: 25.7 kB / 1.404 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/1.327, allocations: 149.5 kB / 1.404 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/1.327, allocations: 111.7 kB / 1.405 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/1.327, allocations: 0 / 1.405 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.327, allocations: 333.4 kB / 1.405 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/1.327, allocations: 210.6 kB / 1.405 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/1.328, allocations: 302 kB / 1.405 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/1.328, allocations: 299.2 kB / 1.406 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.328, allocations: 7.969 kB / 1.406 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009357/1.329, allocations: 0.5966 MB / 1.406 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/1.329, allocations: 0.8668 MB / 1.407 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.33, allocations: 7.953 kB / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.33, allocations: 4 kB / 1.407 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/1.33, allocations: 155.3 kB / 1.407 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.33, allocations: 7.938 kB / 1.407 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/1.331, allocations: 43.94 kB / 1.407 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/1.331, allocations: 18.92 kB / 1.407 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/1.331, allocations: 4 kB / 1.407 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007434/1.332, allocations: 460 kB / 1.408 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/1.332, allocations: 0 / 1.408 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/1.332, allocations: 8 kB / 1.408 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/1.332, allocations: 131.6 kB / 1.408 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.332, allocations: 15.92 kB / 1.408 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/1.332, allocations: 27.97 kB / 1.408 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.333, allocations: 19.17 kB / 1.408 GB, free: 19.73 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.0001271/1.333, allocations: 117.4 kB / 1.408 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008965/1.334, allocations: 0.5403 MB / 1.409 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/1.334, allocations: 19.81 kB / 1.409 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/1.335, allocations: 0.6166 MB / 1.409 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.335, allocations: 4 kB / 1.409 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.335, allocations: 0 / 1.409 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.335, allocations: 3.984 kB / 1.409 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.336, allocations: 1.277 MB / 1.41 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.336, allocations: 4.25 kB / 1.41 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/1.337, allocations: 123.1 kB / 1.411 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.337, allocations: 4 kB / 1.411 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.337, allocations: 7.953 kB / 1.411 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.337, allocations: 4 kB / 1.411 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.337, allocations: 0 / 1.411 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/1.338, allocations: 0.7685 MB / 1.411 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.338, allocations: 146.8 kB / 1.411 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/1.338, allocations: 0 / 1.411 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/1.338, allocations: 43.94 kB / 1.411 GB, free: 16.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/1.338, allocations: 30.91 kB / 1.412 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/1.338, allocations: 15.5 kB / 1.412 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001143/1.339, allocations: 140.2 kB / 1.412 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.339, allocations: 0 / 1.412 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006596/1.339, allocations: 139.9 kB / 1.412 GB, free: 16.3 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.001524/1.341, allocations: 1.893 MB / 1.414 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008616/1.342, allocations: 0.6854 MB / 1.414 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.342, allocations: 0 / 1.414 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/1.342, allocations: 225.7 kB / 1.415 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/1.342, allocations: 36.42 kB / 1.415 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.343, allocations: 0.6326 MB / 1.415 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.344, allocations: 0.7903 MB / 1.416 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004774/1.344, allocations: 175.2 kB / 1.416 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.345, allocations: 80.84 kB / 1.416 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.345, allocations: 4 kB / 1.416 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/1.372, allocations: 6.484 MB / 1.423 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.373, allocations: 155.2 kB / 1.423 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/3.332, allocations: 1.875 kB / 1.423 GB, free: 5.586 MB / 0.8386 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