Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.429/2.429, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001087/0.001088, allocations: 188.8 kB / 487.4 MB, free: 5.062 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.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001015/0.001014, allocations: 103.7 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.837e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.38, allocations: 172.1 MB / 1.374 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.38, allocations: 93.5 kB / 1.374 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08266/1.463, allocations: 40.05 MB / 1.413 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.512e-06/1.463, allocations: 0 / 1.413 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-05/1.463, allocations: 20 kB / 1.413 GB, free: 15.42 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001314/1.464, allocations: 0.8773 MB / 1.414 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.464, allocations: 8.031 kB / 1.414 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.466, allocations: 214.3 kB / 1.414 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/1.467, allocations: 0.5304 MB / 1.415 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/1.467, allocations: 20 kB / 1.415 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/1.467, allocations: 39.12 kB / 1.415 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008304/1.468, allocations: 0.5487 MB / 1.416 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.469, allocations: 0.9884 MB / 1.416 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.469, allocations: 11.84 kB / 1.416 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/1.469, allocations: 4 kB / 1.417 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/1.469, allocations: 60.7 kB / 1.417 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/1.474, allocations: 5.635 MB / 1.422 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/1.475, allocations: 0.5703 MB / 1.423 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/1.475, allocations: 382.8 kB / 1.423 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/1.475, allocations: 8.688 kB / 1.423 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.475, allocations: 37.88 kB / 1.423 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 4.138e-06/1.475, allocations: 0 / 1.423 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.002147/1.478, allocations: 1.158 MB / 1.424 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.478, allocations: 55.41 kB / 1.424 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/1.478, allocations: 327 kB / 1.425 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/1.478, allocations: 25.7 kB / 1.425 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/1.478, allocations: 381.8 kB / 1.425 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.479, allocations: 147.4 kB / 1.425 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/1.479, allocations: 0 / 1.425 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.479, allocations: 363.4 kB / 1.425 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/1.479, allocations: 228 kB / 1.426 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/1.48, allocations: 407.9 kB / 1.426 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/1.48, allocations: 287.8 kB / 1.426 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.48, allocations: 0 / 1.426 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001673/1.482, allocations: 0.9376 MB / 1.427 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.482, allocations: 4 kB / 1.427 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.482, allocations: 8 kB / 1.427 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009386/1.483, allocations: 320.2 kB / 1.428 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/1.483, allocations: 83.33 kB / 1.428 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/1.49, allocations: 6.839 MB / 1.434 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/1.491, allocations: 15.98 kB / 1.434 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/1.491, allocations: 23.88 kB / 1.434 GB, free: 11.67 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.491, allocations: 120.1 kB / 1.434 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001364/1.493, allocations: 0.801 MB / 1.435 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/1.493, allocations: 55.39 kB / 1.435 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/1.494, allocations: 0.8467 MB / 1.436 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.494, allocations: 8 kB / 1.436 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.494, allocations: 4 kB / 1.436 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.494, allocations: 3.984 kB / 1.436 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/1.497, allocations: 1.708 MB / 1.438 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.497, allocations: 4 kB / 1.438 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/1.497, allocations: 47.09 kB / 1.438 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007786/1.498, allocations: 273.5 kB / 1.438 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.498, allocations: 0 / 1.438 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/1.504, allocations: 6.559 MB / 1.444 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/1.504, allocations: 11.95 kB / 1.444 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.505, allocations: 0.9617 MB / 1.445 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/1.505, allocations: 163.8 kB / 1.446 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/1.506, allocations: 3.984 kB / 1.446 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/1.506, allocations: 19.92 kB / 1.446 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/1.506, allocations: 39.77 kB / 1.446 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.506, allocations: 15.86 kB / 1.446 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00027/1.506, allocations: 244.5 kB / 1.446 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.506, allocations: 0 / 1.446 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008553/1.507, allocations: 176 kB / 1.446 GB, free: 0.6758 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/1.509, allocations: 1.926 MB / 1.448 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.511, allocations: 1.081 MB / 1.449 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.511, allocations: 3.625 kB / 1.449 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.512, allocations: 0.7794 MB / 1.45 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/1.512, allocations: 159.1 kB / 1.45 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/1.514, allocations: 1.015 MB / 1.451 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/1.515, allocations: 1.006 MB / 1.452 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003078/1.515, allocations: 96.91 kB / 1.452 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/1.516, allocations: 219.3 kB / 1.452 GB, free: 11 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/1.516, allocations: 0 / 1.452 GB, free: 11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/1.551, allocations: 12.8 MB / 1.465 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.551, allocations: 146.7 kB / 1.465 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.82, allocations: 0 / 1.465 GB, free: 14.12 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat