Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_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.001061/0.001061, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 179.6 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6738/0.6738, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 8 kB / 496 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 77.54 MB / 0.5601 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004883/0.1375, allocations: 3.795 MB / 0.5638 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1409, allocations: 2.186 MB / 0.5659 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.1411, allocations: 7.938 kB / 0.5659 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1413, allocations: 59.5 kB / 0.566 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.142, allocations: 258.9 kB / 0.5662 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.1427, allocations: 307.4 kB / 0.5665 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.1436, allocations: 0.8142 MB / 0.5673 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.1446, allocations: 0.6454 MB / 0.5679 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.1449, allocations: 179.2 kB / 0.5681 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1454, allocations: 267 kB / 0.5683 GB, free: 456 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.1454, allocations: 20 kB / 0.5684 GB, free: 436 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.1459, allocations: 295.4 kB / 0.5686 GB, free: 140 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.146, allocations: 155.6 kB / 0.5688 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1462, allocations: 216.6 kB / 0.569 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.1469, allocations: 0.6229 MB / 0.5696 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1469, allocations: 0 / 0.5696 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1469, allocations: 0 / 0.5696 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1469, allocations: 3.938 kB / 0.5696 GB, free: 15.14 MB / 446.1 MB 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.0009363/0.1478, allocations: 0.6377 MB / 0.5702 GB, free: 14.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.1479, allocations: 12.03 kB / 0.5703 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.929e-05/0.148, allocations: 74.7 kB / 0.5703 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009395/0.1489, allocations: 140.3 kB / 0.5705 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1493, allocations: 328.4 kB / 0.5708 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.1494, allocations: 29.38 kB / 0.5708 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.1494, allocations: 36.36 kB / 0.5708 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.1503, allocations: 0.6262 MB / 0.5714 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1503, allocations: 7.875 kB / 0.5715 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1503, allocations: 15.98 kB / 0.5715 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/0.1504, allocations: 40.64 kB / 0.5715 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.1511, allocations: 478.1 kB / 0.572 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.1542, allocations: 3.42 MB / 0.5753 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.1548, allocations: 377.7 kB / 0.5757 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1551, allocations: 169.6 kB / 0.5758 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1551, allocations: 8 kB / 0.5758 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1551, allocations: 38.56 kB / 0.5759 GB, free: 8.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.1551, allocations: 0 / 0.5759 GB, free: 8.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004362/0.1595, allocations: 1.47 MB / 0.5773 GB, free: 6.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1595, allocations: 89.09 kB / 0.5774 GB, free: 6.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1599, allocations: 324.4 kB / 0.5777 GB, free: 6.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1599, allocations: 29.7 kB / 0.5777 GB, free: 6.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.16, allocations: 267.2 kB / 0.578 GB, free: 6.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.1601, allocations: 90.73 kB / 0.5781 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.1602, allocations: 37.7 kB / 0.5781 GB, free: 5.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1603, allocations: 342.8 kB / 0.5784 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1605, allocations: 173 kB / 0.5786 GB, free: 5.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1609, allocations: 346 kB / 0.5789 GB, free: 4.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.1615, allocations: 0.5313 MB / 0.5794 GB, free: 4.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.1615, allocations: 4 kB / 0.5794 GB, free: 4.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002171/0.1637, allocations: 0.9202 MB / 0.5803 GB, free: 3.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1638, allocations: 244.7 kB / 0.5806 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1639, allocations: 4 kB / 0.5806 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.1661, allocations: 0.5127 MB / 0.5811 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.1665, allocations: 91.81 kB / 0.5812 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2342/0.4007, allocations: 3.773 MB / 0.5849 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.4012, allocations: 44.53 kB / 0.5849 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.4012, allocations: 22.75 kB / 0.5849 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.4013, allocations: 3.656 kB / 0.5849 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008049/0.4021, allocations: 480.2 kB / 0.5854 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4021, allocations: 6.078 kB / 0.5854 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4021, allocations: 12.22 kB / 0.5854 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.4025, allocations: 108.2 kB / 0.5855 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4026, allocations: 14.16 kB / 0.5855 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.4028, allocations: 27.12 kB / 0.5855 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.4029, allocations: 23.91 kB / 0.5856 GB, free: 28.88 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.4031, allocations: 273.2 kB / 0.5858 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.4032, allocations: 32.72 kB / 0.5859 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.4049, allocations: 0.6659 MB / 0.5865 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4049, allocations: 8.531 kB / 0.5865 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.405, allocations: 0 / 0.5865 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.405, allocations: 3.5 kB / 0.5865 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.4059, allocations: 0.6584 MB / 0.5872 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4059, allocations: 4.969 kB / 0.5872 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.4061, allocations: 48.48 kB / 0.5872 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.4077, allocations: 404.3 kB / 0.5876 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.4077, allocations: 6.25 kB / 0.5876 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.4113, allocations: 3.479 MB / 0.591 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4113, allocations: 4.688 kB / 0.591 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.4129, allocations: 0.8291 MB / 0.5918 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.413, allocations: 151.5 kB / 0.592 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.4131, allocations: 6.844 kB / 0.592 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.4135, allocations: 37.44 kB / 0.592 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.4135, allocations: 21.2 kB / 0.592 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.4136, allocations: 12.22 kB / 0.592 GB, free: 25.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.4138, allocations: 231.6 kB / 0.5923 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4138, allocations: 0 / 0.5923 GB, free: 25.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008719/0.4147, allocations: 192.1 kB / 0.5924 GB, free: 25.18 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002003/0.4167, allocations: 1.393 MB / 0.5938 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.4183, allocations: 0.9698 MB / 0.5947 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4183, allocations: 0 / 0.5947 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.419, allocations: 485 kB / 0.5952 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.4196, allocations: 72.72 kB / 0.5953 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.4269, allocations: 4.702 MB / 0.5999 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4273, allocations: 0.8421 MB / 0.6007 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.4277, allocations: 142 kB / 0.6008 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.4279, allocations: 117.9 kB / 0.6009 GB, free: 19.82 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4279, allocations: 0 / 0.6009 GB, free: 19.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.856/1.284, allocations: 9.883 MB / 0.6106 GB, free: 16.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.284, allocations: 229.7 kB / 0.6108 GB, free: 16.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/3.148, allocations: 0 / 0.6108 GB, free: 16.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)