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.239/2.239, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001166/0.001166, allocations: 159.3 kB / 498.1 MB, free: 5.668 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.438/1.438, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009105/0.0009106, allocations: 98.77 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 8.562 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/0.5101, allocations: 178.5 MB / 1.397 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5105, allocations: 103.9 kB / 1.397 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6675/1.178, allocations: 20.07 MB / 1.417 GB, free: 176.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.844e-06/1.178, allocations: 0 / 1.417 GB, free: 176.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.205e-05/1.178, allocations: 4.969 kB / 1.417 GB, free: 176.3 MB / 0.9011 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.001057/1.179, allocations: 0.559 MB / 1.418 GB, free: 175.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.179, allocations: 9.781 kB / 1.418 GB, free: 175.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/1.179, allocations: 56.64 kB / 1.418 GB, free: 175.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/1.18, allocations: 103.3 kB / 1.418 GB, free: 175.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/1.181, allocations: 256 kB / 1.418 GB, free: 175.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.181, allocations: 22.39 kB / 1.418 GB, free: 175.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/1.181, allocations: 15.69 kB / 1.418 GB, free: 175.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/1.181, allocations: 384.8 kB / 1.418 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.181, allocations: 0.875 kB / 1.418 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/1.182, allocations: 8.297 kB / 1.418 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/1.182, allocations: 25.89 kB / 1.418 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008263/1.182, allocations: 376.1 kB / 1.419 GB, free: 175.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/1.184, allocations: 1.725 MB / 1.42 GB, free: 174.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/1.185, allocations: 343.6 kB / 1.421 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/1.185, allocations: 94.17 kB / 1.421 GB, free: 174 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.185, allocations: 35.55 kB / 1.421 GB, free: 174 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.694e-06/1.185, allocations: 4.969 kB / 1.421 GB, free: 174 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.007008/1.192, allocations: 1.967 MB / 1.423 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.192, allocations: 80.98 kB / 1.423 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/1.193, allocations: 169.9 kB / 1.423 GB, free: 173.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/1.193, allocations: 38.55 kB / 1.423 GB, free: 173.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/1.193, allocations: 147.1 kB / 1.423 GB, free: 173.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/1.193, allocations: 114.6 kB / 1.423 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.193, allocations: 8.844 kB / 1.423 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/1.193, allocations: 335.7 kB / 1.424 GB, free: 173.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.193, allocations: 260.4 kB / 1.424 GB, free: 173.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/1.194, allocations: 340.4 kB / 1.424 GB, free: 173 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/1.194, allocations: 293.2 kB / 1.425 GB, free: 173 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.194, allocations: 0 / 1.425 GB, free: 173 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00115/1.196, allocations: 0.6608 MB / 1.425 GB, free: 172.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/1.196, allocations: 0.8721 MB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.196, allocations: 5.5 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.196, allocations: 5.438 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.197, allocations: 172.4 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/1.197, allocations: 8.25 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/1.197, allocations: 57.31 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.197, allocations: 17.66 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.197, allocations: 4.906 kB / 1.426 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/1.199, allocations: 0.5783 MB / 1.427 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.199, allocations: 2.906 kB / 1.427 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1.199, allocations: 3.906 kB / 1.427 GB, free: 172 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/1.199, allocations: 177.7 kB / 1.427 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.2, allocations: 6.375 kB / 1.427 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/1.2, allocations: 51.09 kB / 1.427 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/1.2, allocations: 18.56 kB / 1.427 GB, free: 171.9 MB / 0.9011 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 (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.0002126/1.2, allocations: 239.2 kB / 1.427 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/1.2, allocations: 26.58 kB / 1.427 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.202, allocations: 0.6839 MB / 1.428 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.202, allocations: 4.656 kB / 1.428 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.202, allocations: 0 / 1.428 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.202, allocations: 5.234 kB / 1.428 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/1.204, allocations: 1.384 MB / 1.429 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.204, allocations: 5.031 kB / 1.429 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/1.204, allocations: 124.9 kB / 1.429 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.204, allocations: 5.062 kB / 1.429 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.204, allocations: 5.875 kB / 1.429 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.204, allocations: 7.906 kB / 1.43 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.204, allocations: 2.281 kB / 1.43 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.205, allocations: 0.8312 MB / 1.43 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.206, allocations: 142.8 kB / 1.43 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/1.206, allocations: 12.06 kB / 1.43 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/1.206, allocations: 48.62 kB / 1.431 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/1.206, allocations: 29.33 kB / 1.431 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/1.206, allocations: 12.47 kB / 1.431 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001289/1.206, allocations: 141.1 kB / 1.431 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.206, allocations: 1.406 kB / 1.431 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007936/1.207, allocations: 175.2 kB / 1.431 GB, free: 170.4 MB / 0.9011 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 () * Number of clocked 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.002257/1.209, allocations: 1.965 MB / 1.433 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002139/1.211, allocations: 0.8697 MB / 1.434 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.212, allocations: 0 / 1.434 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/1.212, allocations: 262.4 kB / 1.434 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/1.212, allocations: 44.38 kB / 1.434 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.217, allocations: 3.608 MB / 1.437 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/1.217, allocations: 0.7837 MB / 1.438 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006371/1.217, allocations: 172.1 kB / 1.438 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.218, allocations: 83.69 kB / 1.438 GB, free: 166 MB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/1.218, allocations: 0 / 1.438 GB, free: 166 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/1.238, allocations: 6.661 MB / 1.445 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.238, allocations: 204.4 kB / 1.445 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/3.115, allocations: 0 / 1.445 GB, free: 163.3 MB / 0.9011 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