Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",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.001024/0.001023, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009935/0.0009937, allocations: 177.3 kB / 15.95 MB, free: 216 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.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 19.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7748, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004338/0.7792, allocations: 4.009 MB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.7821, allocations: 2.045 MB / 0.9595 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.7823, allocations: 12.06 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.7825, allocations: 65.09 kB / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.783, allocations: 187 kB / 0.9598 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.7837, allocations: 273.9 kB / 0.96 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.7841, allocations: 324.1 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.7851, allocations: 0.6069 MB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.7854, allocations: 154.6 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.7858, allocations: 177.7 kB / 0.9612 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.7859, allocations: 17.19 kB / 0.9613 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.7862, allocations: 139.6 kB / 0.9614 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.7864, allocations: 148.2 kB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.7865, allocations: 98.11 kB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.787, allocations: 489.3 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.787, allocations: 0 / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.787, allocations: 0 / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.787, allocations: 1.188 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009923/0.788, allocations: 0.6343 MB / 0.9627 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7881, allocations: 8.938 kB / 0.9627 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.114e-05/0.7882, allocations: 82.2 kB / 0.9628 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.7892, allocations: 149.3 kB / 0.9629 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.7896, allocations: 312.6 kB / 0.9632 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7897, allocations: 32.55 kB / 0.9633 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.7897, allocations: 30.97 kB / 0.9633 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.7906, allocations: 0.6219 MB / 0.9639 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.7906, allocations: 3.953 kB / 0.9639 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.7907, allocations: 14.28 kB / 0.9639 GB, free: 260 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8e-05/0.7908, allocations: 49.7 kB / 0.964 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.7915, allocations: 473.1 kB / 0.9644 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.7957, allocations: 3.442 MB / 0.9678 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.7966, allocations: 367.3 kB / 0.9681 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.7966, allocations: 10.2 kB / 0.9681 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.7967, allocations: 37.56 kB / 0.9682 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 3.387e-06/0.7967, allocations: 0 / 0.9682 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.005267/0.802, allocations: 1.458 MB / 0.9696 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.8021, allocations: 84.3 kB / 0.9697 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.8025, allocations: 324.6 kB / 0.97 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.8026, allocations: 31.02 kB / 0.97 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.8027, allocations: 255.7 kB / 0.9703 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.8029, allocations: 98.86 kB / 0.9704 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.8029, allocations: 10.69 kB / 0.9704 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.803, allocations: 341.5 kB / 0.9707 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.8033, allocations: 176 kB / 0.9709 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.8038, allocations: 342.4 kB / 0.9712 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.8043, allocations: 229.2 kB / 0.9714 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.8043, allocations: 3.156 kB / 0.9714 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00278/0.8071, allocations: 0.9111 MB / 0.9723 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/0.8084, allocations: 2.09 MB / 0.9743 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.8084, allocations: 5.969 kB / 0.9743 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.8108, allocations: 0.5018 MB / 0.9748 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.8113, allocations: 97.5 kB / 0.9749 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.8175, allocations: 3.86 MB / 0.9787 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.8181, allocations: 41.69 kB / 0.9787 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/0.8182, allocations: 20.97 kB / 0.9788 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.8182, allocations: 7.578 kB / 0.9788 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008444/0.819, allocations: 482.6 kB / 0.9792 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.8191, allocations: 4.844 kB / 0.9792 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8191, allocations: 9.812 kB / 0.9792 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.8195, allocations: 113.2 kB / 0.9793 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.8195, allocations: 15.55 kB / 0.9794 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.8199, allocations: 33.17 kB / 0.9794 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.8199, allocations: 24.12 kB / 0.9794 GB, free: 3.461 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003458/0.8203, allocations: 267.9 kB / 0.9797 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.8204, allocations: 36.11 kB / 0.9797 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.8222, allocations: 0.6723 MB / 0.9804 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8222, allocations: 3.375 kB / 0.9804 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8222, allocations: 1.094 kB / 0.9804 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.8222, allocations: 1.188 kB / 0.9804 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.8234, allocations: 0.6602 MB / 0.981 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8234, allocations: 9.484 kB / 0.981 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.8236, allocations: 44.38 kB / 0.9811 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.8252, allocations: 407.9 kB / 0.9815 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.8253, allocations: 5.469 kB / 0.9815 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.8293, allocations: 3.551 MB / 0.9849 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8294, allocations: 4.031 kB / 0.9849 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.8311, allocations: 0.8582 MB / 0.9858 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.8314, allocations: 144.6 kB / 0.9859 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.8315, allocations: 8 kB / 0.9859 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.8319, allocations: 35.94 kB / 0.9859 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.832, allocations: 27.92 kB / 0.986 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.832, allocations: 4 kB / 0.986 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002685/0.8323, allocations: 231 kB / 0.9862 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8323, allocations: 4 kB / 0.9862 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009992/0.8333, allocations: 192 kB / 0.9864 GB, free: 13.03 MB / 0.7481 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 (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/0.8355, allocations: 1.634 MB / 0.988 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.8372, allocations: 0.9523 MB / 0.9889 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8373, allocations: 0 / 0.9889 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.838, allocations: 481.8 kB / 0.9894 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.8385, allocations: 58.14 kB / 0.9894 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.8449, allocations: 6.126 MB / 0.9954 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.8454, allocations: 0.8625 MB / 0.9963 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.8459, allocations: 135.2 kB / 0.9964 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.846, allocations: 111.4 kB / 0.9965 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.846, allocations: 0 / 0.9965 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.8759, allocations: 9.866 MB / 1.006 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003606/0.8764, allocations: 232.3 kB / 1.006 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.781, allocations: 0 / 1.006 GB, free: 8.527 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat