Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.0008462/0.0008499, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009155/0.0009156, allocations: 172.7 kB / 15.95 MB, free: 208 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7306, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03894/0.7696, allocations: 34.62 MB / 1.015 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.7908, allocations: 10.49 MB / 1.025 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.7952, allocations: 135.2 kB / 1.025 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.7987, allocations: 0.7635 MB / 1.026 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.8055, allocations: 1.787 MB / 1.028 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.8106, allocations: 1.283 MB / 1.029 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01385/0.8245, allocations: 10.37 MB / 1.039 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02438/0.8489, allocations: 12.67 MB / 1.052 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008219/0.8572, allocations: 2.864 MB / 1.054 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008499/0.8657, allocations: 3.773 MB / 1.058 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.8681, allocations: 344 kB / 1.058 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.8725, allocations: 0.7104 MB / 1.059 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005251/0.8778, allocations: 2.514 MB / 1.062 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.8813, allocations: 1.198 MB / 1.063 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.8991, allocations: 10.18 MB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.8992, allocations: 0 / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.115e-06/0.8992, allocations: 3.938 kB / 1.073 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0006109/0.8998, allocations: 0 / 1.073 GB, free: 8.258 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01689/0.9167, allocations: 5.145 MB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.9168, allocations: 12.03 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003496/0.9203, allocations: 0.8253 MB / 1.078 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006934/0.9273, allocations: 1.07 MB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009215/0.9365, allocations: 3.349 MB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005818/0.9372, allocations: 427.3 kB / 1.083 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.9396, allocations: 0.5468 MB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.9652, allocations: 9.322 MB / 1.093 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/0.9656, allocations: 19.86 kB / 1.093 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/0.9681, allocations: 248 kB / 1.093 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008012/0.9689, allocations: 422.9 kB / 1.094 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.987, allocations: 7.073 MB / 1.1 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/1.046, allocations: 41.37 MB / 1.141 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/1.051, allocations: 3.096 MB / 1.144 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/1.055, allocations: 2.121 MB / 1.146 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.055, allocations: 26 kB / 1.146 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.055, allocations: 60.56 kB / 1.146 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=209): time 4.358e-06/1.055, allocations: 0 / 1.146 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=212): time 0.02588/1.081, allocations: 10.46 MB / 1.156 GB, free: 14.35 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/1.081, allocations: 73.41 kB / 1.156 GB, free: 14.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/1.085, allocations: 1.982 MB / 1.158 GB, free: 12.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.085, allocations: 61.7 kB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.087, allocations: 2.404 MB / 1.161 GB, free: 9.766 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/1.088, allocations: 0.7278 MB / 1.161 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/1.088, allocations: 56 kB / 1.161 GB, free: 8.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.089, allocations: 415.4 kB / 1.162 GB, free: 8.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.091, allocations: 1.36 MB / 1.163 GB, free: 7.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/1.094, allocations: 2.096 MB / 1.165 GB, free: 4.785 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/1.097, allocations: 1.724 MB / 1.167 GB, free: 3.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.097, allocations: 4 kB / 1.167 GB, free: 3.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008886/1.106, allocations: 5.046 MB / 1.172 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.106, allocations: 16 kB / 1.172 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/1.106, allocations: 20 kB / 1.172 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/1.11, allocations: 1.565 MB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.111, allocations: 447.3 kB / 1.174 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.133, allocations: 17.07 MB / 1.19 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.136, allocations: 143.9 kB / 1.191 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/1.136, allocations: 108 kB / 1.191 GB, free: 10.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003943/1.14, allocations: 1.945 MB / 1.193 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/1.141, allocations: 288.6 kB / 1.193 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.149, allocations: 4.428 MB / 1.197 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.149, allocations: 27.98 kB / 1.197 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.173e-05/1.149, allocations: 16 kB / 1.197 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.149, allocations: 11.92 kB / 1.197 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.169, allocations: 9.641 MB / 1.207 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.169, allocations: 7.938 kB / 1.207 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.17, allocations: 235.6 kB / 1.207 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/1.174, allocations: 1.419 MB / 1.208 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.174, allocations: 40 kB / 1.208 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/1.195, allocations: 17.08 MB / 1.225 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.195, allocations: 7.984 kB / 1.225 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/1.203, allocations: 4.517 MB / 1.229 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.204, allocations: 0.6382 MB / 1.23 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007376/1.205, allocations: 40.25 kB / 1.23 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.207, allocations: 124 kB / 1.23 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004946/1.207, allocations: 181.6 kB / 1.23 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.207, allocations: 63.98 kB / 1.23 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00203/1.209, allocations: 1.296 MB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.209, allocations: 4 kB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004495/1.214, allocations: 1.141 MB / 1.233 GB, free: 14.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007908/1.222, allocations: 5.128 MB / 1.238 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008188/1.23, allocations: 4.672 MB / 1.242 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.23, allocations: 7.859 kB / 1.242 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004958/1.235, allocations: 2.922 MB / 1.245 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/1.241, allocations: 0.8391 MB / 1.246 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.63/1.871, allocations: 26.17 MB / 1.272 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/1.876, allocations: 3.696 MB / 1.275 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002189/1.878, allocations: 0.5495 MB / 1.276 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/1.88, allocations: 1.947 MB / 1.278 GB, free: 230 MB / 0.9981 GB Notification: Performance of SimCode: time 2.224e-06/1.88, allocations: 3.281 kB / 1.278 GB, free: 230 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/2.004, allocations: 82.33 MB / 1.358 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/2.004, allocations: 235.4 kB / 1.358 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/5.579, allocations: 0 / 1.358 GB, free: 153.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat