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.001294/0.0013, allocations: 106.4 kB / 16.4 MB, free: 6.457 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.001368/0.001368, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7904/0.7904, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.5 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1873, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005725/0.1931, allocations: 4.156 MB / 0.6356 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.1973, allocations: 2.35 MB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1977, allocations: 11.94 kB / 0.6379 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.1994, allocations: 0.5393 MB / 0.6385 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008964/0.2003, allocations: 298.6 kB / 0.6388 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2014, allocations: 343.1 kB / 0.6391 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009099/0.2023, allocations: 0.5568 MB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.203, allocations: 366.6 kB / 0.64 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.2036, allocations: 239.2 kB / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.2041, allocations: 275.1 kB / 0.6405 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.2041, allocations: 32 kB / 0.6405 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.2047, allocations: 287.5 kB / 0.6408 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2049, allocations: 175.6 kB / 0.6409 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2051, allocations: 214.9 kB / 0.6411 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.2058, allocations: 0.6628 MB / 0.6418 GB, free: 10.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2058, allocations: 4 kB / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2058, allocations: 0 / 0.6418 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2059, allocations: 0 / 0.6418 GB, free: 10.41 MB / 494.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.00119/0.2071, allocations: 0.7291 MB / 0.6425 GB, free: 9.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2071, allocations: 8.031 kB / 0.6425 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.946e-05/0.2072, allocations: 78.72 kB / 0.6426 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.2083, allocations: 164.2 kB / 0.6427 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2088, allocations: 328.5 kB / 0.6431 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2088, allocations: 25.38 kB / 0.6431 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.2089, allocations: 40.36 kB / 0.6431 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.2098, allocations: 0.6378 MB / 0.6437 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.2099, allocations: 3.938 kB / 0.6437 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.2099, allocations: 20 kB / 0.6438 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.21, allocations: 40.62 kB / 0.6438 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.2108, allocations: 494.1 kB / 0.6443 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.2143, allocations: 3.42 MB / 0.6476 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.215, allocations: 389.3 kB / 0.648 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2152, allocations: 165.6 kB / 0.6481 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.2153, allocations: 4 kB / 0.6482 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2153, allocations: 34.56 kB / 0.6482 GB, free: 3.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.2153, allocations: 4 kB / 0.6482 GB, free: 3.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=26): time 0.004386/0.2197, allocations: 1.468 MB / 0.6496 GB, free: 1.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2198, allocations: 81.11 kB / 0.6497 GB, free: 1.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.2202, allocations: 336.4 kB / 0.65 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2202, allocations: 29.7 kB / 0.65 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2204, allocations: 255.3 kB / 0.6503 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.2205, allocations: 98.62 kB / 0.6504 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2206, allocations: 94.16 kB / 0.6505 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2207, allocations: 342.8 kB / 0.6508 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.221, allocations: 187 kB / 0.651 GB, free: 428 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.2214, allocations: 353.1 kB / 0.6513 GB, free: 8 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.2221, allocations: 0.5392 MB / 0.6518 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2221, allocations: 4 kB / 0.6518 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002242/0.2244, allocations: 0.9163 MB / 0.6527 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2244, allocations: 12.03 kB / 0.6528 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2244, allocations: 7.938 kB / 0.6528 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.2267, allocations: 0.4971 MB / 0.6532 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.2271, allocations: 99.81 kB / 0.6533 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.2326, allocations: 4.051 MB / 0.6573 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.2331, allocations: 43.86 kB / 0.6573 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.2331, allocations: 20 kB / 0.6574 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004388/0.2336, allocations: 313.2 kB / 0.6577 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003575/0.234, allocations: 335.8 kB / 0.658 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006051/0.2346, allocations: 0.5101 MB / 0.6585 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.2346, allocations: 3.938 kB / 0.6585 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008408/0.2354, allocations: 0.5402 MB / 0.659 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2355, allocations: 8 kB / 0.659 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2355, allocations: 8 kB / 0.659 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.615e-06/0.2355, allocations: 11.94 kB / 0.659 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.2359, allocations: 107.8 kB / 0.6591 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2359, allocations: 19.92 kB / 0.6592 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2363, allocations: 39.81 kB / 0.6592 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.2364, allocations: 28.16 kB / 0.6592 GB, free: 7.363 MB / 0.4981 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 (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.0001734/0.2365, allocations: 215.4 kB / 0.6594 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.2366, allocations: 43.55 kB / 0.6595 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.2383, allocations: 0.6618 MB / 0.6601 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2383, allocations: 144 / 0.6601 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2383, allocations: 4 kB / 0.6601 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2383, allocations: 7.969 kB / 0.6601 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.2393, allocations: 0.6597 MB / 0.6608 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2393, allocations: 4 kB / 0.6608 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.2395, allocations: 39.97 kB / 0.6608 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.241, allocations: 401.3 kB / 0.6612 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2411, allocations: 7.984 kB / 0.6612 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.2451, allocations: 3.762 MB / 0.6649 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2451, allocations: 0 / 0.6649 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.2469, allocations: 0.8416 MB / 0.6657 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.2471, allocations: 136.6 kB / 0.6658 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.2472, allocations: 7.984 kB / 0.6658 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2476, allocations: 39.94 kB / 0.6659 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2477, allocations: 19.97 kB / 0.6659 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2477, allocations: 12 kB / 0.6659 GB, free: 100 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003308/0.248, allocations: 239 kB / 0.6661 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.248, allocations: 0 / 0.6661 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009485/0.249, allocations: 196 kB / 0.6663 GB, free: 15.67 MB / 0.5137 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 (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.002073/0.2511, allocations: 1.391 MB / 0.6677 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.2529, allocations: 0.9948 MB / 0.6686 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2529, allocations: 0 / 0.6686 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.2536, allocations: 474 kB / 0.6691 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.2542, allocations: 82.42 kB / 0.6692 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/0.2621, allocations: 4.538 MB / 0.6736 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.2626, allocations: 0.8544 MB / 0.6744 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.263, allocations: 143.2 kB / 0.6746 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.2632, allocations: 119.4 kB / 0.6747 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.2632, allocations: 0 / 0.6747 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3016, allocations: 11.02 MB / 0.6855 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.76, allocations: 20.03 kB / 0.6855 GB, free: 11.86 MB / 0.5294 GB (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)