Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.874/2.874, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.00144/0.00144, allocations: 186 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00086/0.0008599, allocations: 80.75 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005025, allocations: 11.53 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006124/0.2211, allocations: 4.095 MB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.2254, allocations: 2.075 MB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.2258, allocations: 12 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.2262, allocations: 59.5 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008629/0.227, allocations: 211 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2282, allocations: 280.2 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009262/0.2291, allocations: 0.6464 MB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.2307, allocations: 0.606 MB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.2311, allocations: 179.3 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.2317, allocations: 267.1 kB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.2318, allocations: 20 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.2323, allocations: 139.8 kB / 0.9868 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.2325, allocations: 151.6 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2326, allocations: 101.5 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.2333, allocations: 490.7 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2333, allocations: 0 / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2333, allocations: 0 / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2333, allocations: 0 / 0.9875 GB, free: 18.87 MB / 0.6198 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.001317/0.2347, allocations: 0.6355 MB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2347, allocations: 16.02 kB / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.2348, allocations: 86.45 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.2363, allocations: 143.3 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.2369, allocations: 311.3 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2369, allocations: 29 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.237, allocations: 43.89 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.2383, allocations: 0.6143 MB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2384, allocations: 4 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.2384, allocations: 16 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.2386, allocations: 44.58 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2396, allocations: 482.1 kB / 0.9899 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.244, allocations: 3.417 MB / 0.9932 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2451, allocations: 373 kB / 0.9936 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2455, allocations: 177.6 kB / 0.9937 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.2455, allocations: 4.406 kB / 0.9937 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2456, allocations: 38.56 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 4.408e-06/0.2456, allocations: 4 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.007623/0.2532, allocations: 1.451 MB / 0.9952 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2533, allocations: 85.09 kB / 0.9953 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.2538, allocations: 324.4 kB / 0.9956 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.2539, allocations: 33.7 kB / 0.9956 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.254, allocations: 263.3 kB / 0.9959 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.2541, allocations: 94.59 kB / 0.996 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.2542, allocations: 8 kB / 0.996 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2543, allocations: 338.8 kB / 0.9963 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.2547, allocations: 184.9 kB / 0.9965 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.2552, allocations: 338.9 kB / 0.9968 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.2557, allocations: 223.9 kB / 0.997 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2557, allocations: 4 kB / 0.997 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003763/0.2595, allocations: 0.9081 MB / 0.9979 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.2597, allocations: 246.4 kB / 0.9981 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2597, allocations: 8 kB / 0.9981 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.2637, allocations: 0.501 MB / 0.9986 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.2644, allocations: 99.81 kB / 0.9987 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.2723, allocations: 3.777 MB / 1.002 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.273, allocations: 39.81 kB / 1.002 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.2731, allocations: 23.98 kB / 1.002 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2731, allocations: 4 kB / 1.002 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.2741, allocations: 475.2 kB / 1.003 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2742, allocations: 11.95 kB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2742, allocations: 8 kB / 1.003 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.275, allocations: 112.5 kB / 1.003 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.275, allocations: 8 kB / 1.003 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.2754, allocations: 31.83 kB / 1.003 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.2755, allocations: 27.98 kB / 1.003 GB, free: 1.879 MB / 0.6198 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.0003392/0.2758, allocations: 265 kB / 1.003 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.276, allocations: 31.62 kB / 1.003 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.2787, allocations: 0.6786 MB / 1.004 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2787, allocations: 7.953 kB / 1.004 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2787, allocations: 0 / 1.004 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2788, allocations: 3.984 kB / 1.004 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.28, allocations: 0.648 MB / 1.005 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2801, allocations: 12.03 kB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.2804, allocations: 47.91 kB / 1.005 GB, free: 112 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/0.2832, allocations: 409.1 kB / 1.005 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.2833, allocations: 8 kB / 1.005 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006561/0.2899, allocations: 3.474 MB / 1.009 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2899, allocations: 4.062 kB / 1.009 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.293, allocations: 0.8226 MB / 1.009 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.2934, allocations: 140.6 kB / 1.009 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.2935, allocations: 15.95 kB / 1.01 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/0.2941, allocations: 35.94 kB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.2942, allocations: 31.84 kB / 1.01 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.2943, allocations: 7.984 kB / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003925/0.2947, allocations: 223.1 kB / 1.01 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2947, allocations: 4 kB / 1.01 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001286/0.296, allocations: 192 kB / 1.01 GB, free: 10.43 MB / 0.6355 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.003747/0.2998, allocations: 1.398 MB / 1.011 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.3026, allocations: 0.9512 MB / 1.012 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.3027, allocations: 2 kB / 1.012 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.3039, allocations: 477.3 kB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.3049, allocations: 72.98 kB / 1.013 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/0.3131, allocations: 2.651 MB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.3139, allocations: 0.847 MB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00081/0.3147, allocations: 143.1 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.315, allocations: 115.3 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of SimCode: time 1.031e-06/0.315, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.3569, allocations: 9.897 MB / 1.026 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/0.3574, allocations: 247.1 kB / 1.026 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.292, allocations: 0 / 1.026 GB, free: 9.664 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)