Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.001182/0.001182, allocations: 99.7 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.001369/0.001369, 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.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.524/2.524, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8519, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003868/0.8558, allocations: 3.556 MB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.8586, allocations: 2.046 MB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.8588, allocations: 9.438 kB / 0.9591 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.859, allocations: 69.09 kB / 0.9591 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.8595, allocations: 185.9 kB / 0.9593 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.8602, allocations: 271.8 kB / 0.9596 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.8606, allocations: 319.3 kB / 0.9599 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/0.8616, allocations: 0.6109 MB / 0.9605 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.8618, allocations: 151.6 kB / 0.9606 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.8621, allocations: 185.8 kB / 0.9608 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.8622, allocations: 16.5 kB / 0.9608 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.8625, allocations: 139.5 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.8626, allocations: 140.4 kB / 0.9611 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.8627, allocations: 102.2 kB / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.8632, allocations: 497.6 kB / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8632, allocations: 0 / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8632, allocations: 0 / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.8632, allocations: 0 / 0.9617 GB, free: 2.074 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.0009508/0.8642, allocations: 0.6273 MB / 0.9623 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8642, allocations: 9.875 kB / 0.9623 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.8643, allocations: 77.34 kB / 0.9624 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.8654, allocations: 152.8 kB / 0.9625 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.8658, allocations: 313.6 kB / 0.9628 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.8658, allocations: 31.2 kB / 0.9628 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.8659, allocations: 39.88 kB / 0.9629 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.8668, allocations: 0.6153 MB / 0.9635 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.8668, allocations: 6.609 kB / 0.9635 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.8669, allocations: 20.17 kB / 0.9635 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.867, allocations: 43.03 kB / 0.9635 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.8676, allocations: 477.7 kB / 0.964 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.8713, allocations: 3.423 MB / 0.9673 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.872, allocations: 374.7 kB / 0.9677 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.8721, allocations: 14.97 kB / 0.9677 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8721, allocations: 41 kB / 0.9677 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.8721, allocations: 0 / 0.9677 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004678/0.8768, allocations: 1.458 MB / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8769, allocations: 80.17 kB / 0.9692 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.8772, allocations: 329.1 kB / 0.9696 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.8773, allocations: 27.7 kB / 0.9696 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.8774, allocations: 262.6 kB / 0.9698 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.8775, allocations: 95.17 kB / 0.9699 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.8776, allocations: 10.09 kB / 0.9699 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8777, allocations: 338.8 kB / 0.9703 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.8779, allocations: 175.5 kB / 0.9704 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.8783, allocations: 342.5 kB / 0.9708 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.8787, allocations: 229.3 kB / 0.971 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8787, allocations: 6.062 kB / 0.971 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002247/0.881, allocations: 0.9075 MB / 0.9719 GB, free: 10 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007852/0.8818, allocations: 2.095 MB / 0.9739 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.8818, allocations: 5.094 kB / 0.9739 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.884, allocations: 0.4982 MB / 0.9744 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.8845, allocations: 97.91 kB / 0.9745 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.8903, allocations: 3.85 MB / 0.9783 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.8908, allocations: 41.64 kB / 0.9783 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.8908, allocations: 21.28 kB / 0.9783 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8908, allocations: 9.328 kB / 0.9783 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000764/0.8916, allocations: 485.7 kB / 0.9788 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8916, allocations: 9.859 kB / 0.9788 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.8916, allocations: 12.73 kB / 0.9788 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.892, allocations: 109.2 kB / 0.9789 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.892, allocations: 7.219 kB / 0.9789 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.8923, allocations: 37.84 kB / 0.979 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.8924, allocations: 21.59 kB / 0.979 GB, free: 3.816 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.0003158/0.8927, allocations: 270.5 kB / 0.9792 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.8928, allocations: 36.48 kB / 0.9793 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.8945, allocations: 0.6683 MB / 0.9799 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8946, allocations: 7.547 kB / 0.9799 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8946, allocations: 1.031 kB / 0.9799 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8946, allocations: 3.938 kB / 0.9799 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.8957, allocations: 0.6542 MB / 0.9806 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8957, allocations: 5.297 kB / 0.9806 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.8959, allocations: 52.16 kB / 0.9806 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.8974, allocations: 402.4 kB / 0.981 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.8975, allocations: 6.875 kB / 0.981 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.9014, allocations: 3.553 MB / 0.9845 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9014, allocations: 4.062 kB / 0.9845 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.9031, allocations: 0.8582 MB / 0.9853 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.9033, allocations: 144.6 kB / 0.9855 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.9034, allocations: 8 kB / 0.9855 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.9038, allocations: 31.94 kB / 0.9855 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.9038, allocations: 27.92 kB / 0.9855 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.9039, allocations: 12 kB / 0.9855 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002525/0.9041, allocations: 223.1 kB / 0.9858 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9041, allocations: 4 kB / 0.9858 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009867/0.9051, allocations: 188 kB / 0.9859 GB, free: 13.45 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.00212/0.9072, allocations: 1.645 MB / 0.9875 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.9089, allocations: 0.9487 MB / 0.9885 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9089, allocations: 4 kB / 0.9885 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006695/0.9096, allocations: 481 kB / 0.9889 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.91, allocations: 61.48 kB / 0.989 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.9157, allocations: 6.124 MB / 0.995 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.9161, allocations: 0.8508 MB / 0.9958 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003913/0.9165, allocations: 143.4 kB / 0.9959 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.9167, allocations: 119.4 kB / 0.9961 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/0.9167, allocations: 0 / 0.9961 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.9374, allocations: 9.853 MB / 1.006 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.9376, allocations: 209.3 kB / 1.006 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.816, allocations: 4 kB / 1.006 GB, free: 8.922 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat