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.0009996/0.0009996, allocations: 102.1 kB / 16.27 MB, free: 5.859 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.0009691/0.0009691, allocations: 187.6 kB / 17.19 MB, free: 5.512 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004729/0.31, allocations: 4.137 MB / 0.5713 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.313, allocations: 2.358 MB / 0.5736 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.3131, allocations: 10.84 kB / 0.5736 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.3145, allocations: 0.5398 MB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.3151, allocations: 292.5 kB / 0.5744 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.316, allocations: 347.1 kB / 0.5748 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.3165, allocations: 0.561 MB / 0.5753 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.317, allocations: 367.5 kB / 0.5757 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3172, allocations: 229.6 kB / 0.5759 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.3176, allocations: 281.5 kB / 0.5762 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.3177, allocations: 35.5 kB / 0.5762 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.3181, allocations: 291.2 kB / 0.5765 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3183, allocations: 176 kB / 0.5766 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.3185, allocations: 215.2 kB / 0.5769 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007114/0.3192, allocations: 0.6538 MB / 0.5775 GB, free: 26.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3193, allocations: 6.422 kB / 0.5775 GB, free: 26.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3193, allocations: 0 / 0.5775 GB, free: 26.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3193, allocations: 0.625 kB / 0.5775 GB, free: 26.5 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.0009751/0.3203, allocations: 0.7161 MB / 0.5782 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3203, allocations: 10.12 kB / 0.5782 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.3204, allocations: 84.94 kB / 0.5783 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.3215, allocations: 161.9 kB / 0.5784 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.3219, allocations: 330 kB / 0.5788 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.3219, allocations: 28.5 kB / 0.5788 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.322, allocations: 35.94 kB / 0.5788 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.3229, allocations: 0.6423 MB / 0.5794 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3229, allocations: 5 kB / 0.5794 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.3229, allocations: 16.91 kB / 0.5795 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/0.323, allocations: 38.09 kB / 0.5795 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.3238, allocations: 495.1 kB / 0.58 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.3263, allocations: 3.436 MB / 0.5833 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.3269, allocations: 373.7 kB / 0.5837 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3271, allocations: 171.5 kB / 0.5838 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3271, allocations: 6.938 kB / 0.5839 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3272, allocations: 41.91 kB / 0.5839 GB, free: 21.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.3272, allocations: 9.109 kB / 0.5839 GB, free: 21.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00411/0.3313, allocations: 1.451 MB / 0.5853 GB, free: 20.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.3313, allocations: 80.14 kB / 0.5854 GB, free: 20.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3317, allocations: 336.9 kB / 0.5857 GB, free: 20.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3317, allocations: 31.89 kB / 0.5857 GB, free: 20.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.3318, allocations: 263.8 kB / 0.586 GB, free: 20 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.3319, allocations: 91.34 kB / 0.5861 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.332, allocations: 93.8 kB / 0.5862 GB, free: 19.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.3321, allocations: 342.7 kB / 0.5865 GB, free: 19.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3323, allocations: 188.8 kB / 0.5867 GB, free: 19.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.3327, allocations: 349.5 kB / 0.587 GB, free: 19.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.3333, allocations: 0.5428 MB / 0.5875 GB, free: 18.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3333, allocations: 2.625 kB / 0.5875 GB, free: 18.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00216/0.3354, allocations: 0.9232 MB / 0.5885 GB, free: 18.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3355, allocations: 6.531 kB / 0.5885 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3355, allocations: 12.94 kB / 0.5885 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.3376, allocations: 0.4975 MB / 0.589 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.338, allocations: 103.8 kB / 0.5891 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.3427, allocations: 4.052 MB / 0.593 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.3432, allocations: 43.89 kB / 0.5931 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.3432, allocations: 25.45 kB / 0.5931 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004208/0.3437, allocations: 307.2 kB / 0.5934 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003261/0.344, allocations: 335.9 kB / 0.5937 GB, free: 13.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006167/0.3446, allocations: 0.5089 MB / 0.5942 GB, free: 13.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.3446, allocations: 2.219 kB / 0.5942 GB, free: 13.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008779/0.3455, allocations: 0.5369 MB / 0.5947 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3456, allocations: 11.19 kB / 0.5947 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3456, allocations: 5.406 kB / 0.5947 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3456, allocations: 13.19 kB / 0.5947 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.346, allocations: 114 kB / 0.5949 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.346, allocations: 12.41 kB / 0.5949 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.3464, allocations: 42.38 kB / 0.5949 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3465, allocations: 26.36 kB / 0.5949 GB, free: 13.11 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.0001306/0.3466, allocations: 204 kB / 0.5951 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.3467, allocations: 36.31 kB / 0.5952 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3483, allocations: 0.6778 MB / 0.5958 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3483, allocations: 4.141 kB / 0.5958 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3483, allocations: 11.92 kB / 0.5958 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3484, allocations: 0 / 0.5958 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.349, allocations: 0.6598 MB / 0.5965 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3491, allocations: 3.938 kB / 0.5965 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3492, allocations: 43.97 kB / 0.5965 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.3506, allocations: 405.2 kB / 0.5969 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3507, allocations: 4 kB / 0.5969 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.3536, allocations: 3.757 MB / 0.6006 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3537, allocations: 7.969 kB / 0.6006 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.355, allocations: 0.8261 MB / 0.6014 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3551, allocations: 140.6 kB / 0.6015 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.3552, allocations: 8 kB / 0.6015 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.3556, allocations: 43.94 kB / 0.6016 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.3556, allocations: 23.91 kB / 0.6016 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3557, allocations: 8 kB / 0.6016 GB, free: 6.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.3559, allocations: 235 kB / 0.6018 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3559, allocations: 0 / 0.6018 GB, free: 5.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007803/0.3567, allocations: 196 kB / 0.602 GB, free: 5.648 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.001686/0.3584, allocations: 1.405 MB / 0.6034 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.3597, allocations: 1.011 MB / 0.6044 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3598, allocations: 0 / 0.6044 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.3603, allocations: 489.7 kB / 0.6049 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.3609, allocations: 81.67 kB / 0.6049 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.3676, allocations: 4.55 MB / 0.6094 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.368, allocations: 0.8431 MB / 0.6102 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.3685, allocations: 147.2 kB / 0.6103 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3687, allocations: 119.4 kB / 0.6104 GB, free: 12.66 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3687, allocations: 0 / 0.6104 GB, free: 12.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.4014, allocations: 10.66 MB / 0.6209 GB, free: 2.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 18.09 kB / 0.6209 GB, free: 2.184 MB / 462.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)