Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001121/0.001121, allocations: 180 kB / 0.4901 GB, free: 2.246 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.471/1.471, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.000914/0.0009141, allocations: 96.2 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003205, allocations: 17.53 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.464, allocations: 179.3 MB / 1.404 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.4644, allocations: 99.94 kB / 1.405 GB, free: 6.039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04933/0.5137, allocations: 20.09 MB / 1.424 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5138, allocations: 4 kB / 1.424 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.5138, allocations: 4 kB / 1.424 GB, free: 1.738 MB / 0.9167 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.001007/0.5148, allocations: 0.5495 MB / 1.425 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5149, allocations: 8.562 kB / 1.425 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.805e-05/0.515, allocations: 58.53 kB / 1.425 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.5158, allocations: 111.5 kB / 1.425 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.5162, allocations: 252.8 kB / 1.425 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.5162, allocations: 20.42 kB / 1.425 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.5163, allocations: 19.98 kB / 1.425 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.5169, allocations: 385.9 kB / 1.425 GB, free: 228 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5169, allocations: 0 / 1.425 GB, free: 228 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.517, allocations: 8 kB / 1.425 GB, free: 220 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.517, allocations: 27.7 kB / 1.426 GB, free: 192 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6033/1.12, allocations: 372.8 kB / 1.426 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/1.122, allocations: 1.722 MB / 1.428 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/1.123, allocations: 342.2 kB / 1.428 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/1.123, allocations: 88.59 kB / 1.428 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.123, allocations: 37.12 kB / 1.428 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 3.025e-06/1.123, allocations: 3.062 kB / 1.428 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.007035/1.13, allocations: 1.976 MB / 1.43 GB, free: 183 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.13, allocations: 87.3 kB / 1.43 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/1.131, allocations: 165.3 kB / 1.43 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/1.131, allocations: 29.39 kB / 1.43 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/1.131, allocations: 153.5 kB / 1.43 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.131, allocations: 118 kB / 1.43 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/1.131, allocations: 8.938 kB / 1.43 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/1.131, allocations: 333 kB / 1.431 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/1.131, allocations: 255.1 kB / 1.431 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/1.132, allocations: 341.5 kB / 1.431 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/1.133, allocations: 298.9 kB / 1.432 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.133, allocations: 1.438 kB / 1.432 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001243/1.134, allocations: 0.6541 MB / 1.432 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/1.134, allocations: 0.876 MB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.134, allocations: 1.5 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.134, allocations: 8.812 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.135, allocations: 171.2 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.135, allocations: 5.641 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/1.136, allocations: 49.11 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.136, allocations: 17.41 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.136, allocations: 8.281 kB / 1.433 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/1.137, allocations: 0.588 MB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.137, allocations: 1.656 kB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/1.137, allocations: 5.422 kB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.138, allocations: 170.9 kB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.138, allocations: 7.484 kB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/1.138, allocations: 45.84 kB / 1.434 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/1.138, allocations: 14.91 kB / 1.434 GB, free: 181.2 MB / 0.9167 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.0002162/1.139, allocations: 248 kB / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/1.139, allocations: 19.62 kB / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.14, allocations: 0.6875 MB / 1.435 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.14, allocations: 5.984 kB / 1.435 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.14, allocations: 0.5 kB / 1.435 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.14, allocations: 5.141 kB / 1.435 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.142, allocations: 1.379 MB / 1.436 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.143, allocations: 2.75 kB / 1.436 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/1.143, allocations: 124.8 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/1.143, allocations: 7.609 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/1.143, allocations: 9.188 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/1.143, allocations: 5.812 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.143, allocations: 5.484 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.144, allocations: 0.8292 MB / 1.437 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/1.144, allocations: 137.9 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/1.144, allocations: 9.875 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.145, allocations: 47.52 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/1.145, allocations: 28.17 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.145, allocations: 17.2 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001229/1.145, allocations: 142.9 kB / 1.438 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/1.145, allocations: 1.594 kB / 1.438 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007436/1.146, allocations: 171.6 kB / 1.438 GB, free: 179.8 MB / 0.9167 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.001395/1.147, allocations: 1.967 MB / 1.44 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.149, allocations: 0.8691 MB / 1.441 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.149, allocations: 5.656 kB / 1.441 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/1.149, allocations: 258.2 kB / 1.441 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/1.15, allocations: 41.47 kB / 1.441 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/1.154, allocations: 3.599 MB / 1.445 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.154, allocations: 0.7938 MB / 1.445 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006227/1.154, allocations: 172.1 kB / 1.445 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.155, allocations: 80.25 kB / 1.446 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/1.155, allocations: 5.875 kB / 1.446 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/1.176, allocations: 6.681 MB / 1.452 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/1.176, allocations: 201.1 kB / 1.452 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.181, allocations: 0 / 1.452 GB, free: 174.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat