Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.565/2.565, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004062, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6995, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006345/0.7059, allocations: 4.527 MB / 0.9856 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004854/0.7108, allocations: 3.088 MB / 0.9886 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.7113, allocations: 8 kB / 0.9886 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.7119, allocations: 159.1 kB / 0.9887 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.713, allocations: 304.6 kB / 0.989 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.7138, allocations: 195.5 kB / 0.9892 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.7149, allocations: 0.6969 MB / 0.9899 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.7163, allocations: 0.7393 MB / 0.9906 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.7167, allocations: 199.2 kB / 0.9908 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.7171, allocations: 255 kB / 0.9911 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.7172, allocations: 20 kB / 0.9911 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.7178, allocations: 239.6 kB / 0.9913 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.718, allocations: 147.5 kB / 0.9914 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.7181, allocations: 109.5 kB / 0.9915 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007888/0.7189, allocations: 0.7035 MB / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7189, allocations: 0 / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7189, allocations: 0 / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.7189, allocations: 4 kB / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001417/0.7204, allocations: 0.7441 MB / 0.993 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7204, allocations: 8.031 kB / 0.993 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.7206, allocations: 74.53 kB / 0.993 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.7233, allocations: 0.7014 MB / 0.9937 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.7242, allocations: 482.6 kB / 0.9942 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.7242, allocations: 28.58 kB / 0.9942 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7243, allocations: 28 kB / 0.9942 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.7259, allocations: 0.8395 MB / 0.9951 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.726, allocations: 4 kB / 0.9951 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.726, allocations: 12 kB / 0.9951 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.7262, allocations: 68.56 kB / 0.9951 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.7282, allocations: 0.939 MB / 0.9961 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.7323, allocations: 2.93 MB / 0.9989 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.7339, allocations: 0.5572 MB / 0.9995 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.7346, allocations: 320.9 kB / 0.9998 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.7347, allocations: 85.28 kB / 0.9998 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.7348, allocations: 38.75 kB / 0.9999 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 2.304e-06/0.7348, allocations: 0 / 0.9999 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.01213/0.7469, allocations: 3.655 MB / 1.003 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.747, allocations: 81.11 kB / 1.004 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.7477, allocations: 408.5 kB / 1.004 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.7477, allocations: 33.7 kB / 1.004 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.748, allocations: 239.8 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.7481, allocations: 110.3 kB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.7481, allocations: 12 kB / 1.004 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7483, allocations: 338.8 kB / 1.005 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.7493, allocations: 403.6 kB / 1.005 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.7502, allocations: 492.9 kB / 1.005 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.7512, allocations: 431.6 kB / 1.006 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7512, allocations: 4 kB / 1.006 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005182/0.7564, allocations: 1.725 MB / 1.008 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.7565, allocations: 148 kB / 1.008 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.7565, allocations: 4 kB / 1.008 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/0.7606, allocations: 0.9699 MB / 1.009 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.7612, allocations: 139.8 kB / 1.009 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/0.7706, allocations: 6.405 MB / 1.015 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/0.7715, allocations: 111.8 kB / 1.015 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.7716, allocations: 31.84 kB / 1.015 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7716, allocations: 4 kB / 1.015 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004673/0.7763, allocations: 1.656 MB / 1.017 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7763, allocations: 4 kB / 1.017 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/0.7792, allocations: 0.7251 MB / 1.018 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.7798, allocations: 135.8 kB / 1.018 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.7854, allocations: 5.442 MB / 1.023 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.7861, allocations: 107.8 kB / 1.023 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.7862, allocations: 20.05 kB / 1.023 GB, free: 9.797 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003911/0.7866, allocations: 326.4 kB / 1.023 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7867, allocations: 47.47 kB / 1.023 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/0.7915, allocations: 1.615 MB / 1.025 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.7915, allocations: 4 kB / 1.025 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7916, allocations: 3.953 kB / 1.025 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7916, allocations: 7.984 kB / 1.025 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.7973, allocations: 2.314 MB / 1.027 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7973, allocations: 0 / 1.027 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.7977, allocations: 83.84 kB / 1.027 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/0.8013, allocations: 0.9154 MB / 1.028 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.8014, allocations: 15.94 kB / 1.028 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/0.809, allocations: 6.235 MB / 1.034 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8091, allocations: 32 / 1.034 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/0.8137, allocations: 1.635 MB / 1.036 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.814, allocations: 180.6 kB / 1.036 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/0.8142, allocations: 12 kB / 1.036 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.8147, allocations: 96 kB / 1.036 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.8149, allocations: 31.95 kB / 1.036 GB, free: 11.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.815, allocations: 11.94 kB / 1.036 GB, free: 11.71 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003975/0.8154, allocations: 319 kB / 1.037 GB, free: 11.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8154, allocations: 0 / 1.037 GB, free: 11.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001078/0.8165, allocations: 240 kB / 1.037 GB, free: 11.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005007/0.8215, allocations: 2.208 MB / 1.039 GB, free: 8.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004482/0.826, allocations: 2.249 MB / 1.041 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.826, allocations: 0 / 1.041 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.8275, allocations: 0.8289 MB / 1.042 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008245/0.8284, allocations: 114.5 kB / 1.042 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.8393, allocations: 4.596 MB / 1.047 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.8399, allocations: 0.9258 MB / 1.047 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006412/0.8406, allocations: 175.1 kB / 1.048 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.8409, allocations: 135.4 kB / 1.048 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of SimCode: time 1.162e-06/0.8409, allocations: 0 / 1.048 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.8773, allocations: 18.04 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003911/0.8777, allocations: 252.1 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.991, allocations: 6.109 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat