Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 173.2 kB / 377.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 85.38 kB / 0.7509 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006294, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.292, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7613/1.053, allocations: 170.3 MB / 1.155 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.054, allocations: 102.9 kB / 1.155 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05407/1.108, allocations: 23.58 MB / 1.178 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/1.108, allocations: 0 / 1.178 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.01e-05/1.108, allocations: 11.98 kB / 1.178 GB, free: 4.465 MB / 0.7448 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.001145/1.109, allocations: 0.6681 MB / 1.179 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.109, allocations: 16.02 kB / 1.179 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/1.109, allocations: 82.47 kB / 1.179 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.11, allocations: 142.6 kB / 1.179 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/1.111, allocations: 331.2 kB / 1.179 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/1.111, allocations: 25 kB / 1.179 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/1.111, allocations: 39.42 kB / 1.179 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/1.112, allocations: 0.6155 MB / 1.18 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.112, allocations: 0 / 1.18 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/1.112, allocations: 12 kB / 1.18 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/1.112, allocations: 36.64 kB / 1.18 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/1.113, allocations: 474.1 kB / 1.18 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/1.116, allocations: 3.426 MB / 1.184 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/1.117, allocations: 372.9 kB / 1.184 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/1.117, allocations: 7.938 kB / 1.184 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.117, allocations: 43.77 kB / 1.184 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 4.158e-06/1.117, allocations: 7.938 kB / 1.184 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.003596/1.121, allocations: 1.286 MB / 1.185 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.121, allocations: 81.11 kB / 1.185 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/1.121, allocations: 291.6 kB / 1.186 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.121, allocations: 33.7 kB / 1.186 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/1.121, allocations: 259.3 kB / 1.186 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/1.121, allocations: 94.66 kB / 1.186 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/1.121, allocations: 7.938 kB / 1.186 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.122, allocations: 346.8 kB / 1.186 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.122, allocations: 173 kB / 1.186 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/1.122, allocations: 338.1 kB / 1.187 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/1.123, allocations: 221.7 kB / 1.187 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.123, allocations: 3.984 kB / 1.187 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001913/1.124, allocations: 0.8522 MB / 1.188 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/1.126, allocations: 2.09 MB / 1.19 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.126, allocations: 11.98 kB / 1.19 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/1.127, allocations: 413.2 kB / 1.19 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/1.128, allocations: 99.77 kB / 1.19 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/1.129, allocations: 1.258 MB / 1.192 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/1.129, allocations: 39.81 kB / 1.192 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/1.129, allocations: 16 kB / 1.192 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.129, allocations: 4 kB / 1.192 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007029/1.13, allocations: 495.5 kB / 1.192 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/1.13, allocations: 4 kB / 1.192 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/1.13, allocations: 8 kB / 1.192 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/1.131, allocations: 112.5 kB / 1.192 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.131, allocations: 11.94 kB / 1.192 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/1.131, allocations: 35.81 kB / 1.192 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/1.131, allocations: 20 kB / 1.192 GB, free: 4.812 MB / 0.7605 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.0003039/1.131, allocations: 269 kB / 1.193 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/1.131, allocations: 35.58 kB / 1.193 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.133, allocations: 0.6726 MB / 1.193 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.133, allocations: 7.953 kB / 1.193 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.133, allocations: 0 / 1.193 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.133, allocations: 3.938 kB / 1.193 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.134, allocations: 0.6482 MB / 1.194 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.134, allocations: 4.094 kB / 1.194 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.134, allocations: 51.86 kB / 1.194 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/1.136, allocations: 405.2 kB / 1.194 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.136, allocations: 7.984 kB / 1.194 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/1.14, allocations: 3.546 MB / 1.198 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.14, allocations: 6.984 kB / 1.198 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/1.142, allocations: 0.8623 MB / 1.199 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.142, allocations: 145.1 kB / 1.199 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/1.142, allocations: 4 kB / 1.199 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/1.142, allocations: 35.94 kB / 1.199 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/1.142, allocations: 27.92 kB / 1.199 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.143, allocations: 12 kB / 1.199 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002608/1.143, allocations: 223 kB / 1.199 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.71e-07/1.143, allocations: 4 kB / 1.199 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008178/1.144, allocations: 196.1 kB / 1.199 GB, free: 13.25 MB / 0.7761 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.002331/1.146, allocations: 1.653 MB / 1.201 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.147, allocations: 0.7207 MB / 1.202 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.147, allocations: 8.062 kB / 1.202 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/1.148, allocations: 473 kB / 1.202 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/1.149, allocations: 73.16 kB / 1.202 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/1.154, allocations: 6.06 MB / 1.208 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/1.155, allocations: 0.8586 MB / 1.209 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004241/1.155, allocations: 138.2 kB / 1.209 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.155, allocations: 111.4 kB / 1.209 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/1.155, allocations: 4 kB / 1.209 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/1.181, allocations: 8.919 MB / 1.218 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/1.181, allocations: 206.5 kB / 1.218 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.399, allocations: 4.062 kB / 1.218 GB, free: 9.969 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)