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.001078/0.001078, allocations: 103.8 kB / 15.98 MB, free: 6.355 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.001028/0.001028, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.189/1.189, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 115.3 MB / 406.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 72.11 kB / 493.2 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2934, allocations: 76.17 MB / 0.556 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004456/0.2979, allocations: 4.175 MB / 0.5601 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.3008, allocations: 2.334 MB / 0.5624 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.3011, allocations: 10.41 kB / 0.5624 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.3023, allocations: 0.5172 MB / 0.5629 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.3029, allocations: 271.1 kB / 0.5632 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.3037, allocations: 317.8 kB / 0.5635 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.3043, allocations: 0.5692 MB / 0.564 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005388/0.3048, allocations: 417.7 kB / 0.5644 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.3051, allocations: 235.8 kB / 0.5646 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.3056, allocations: 289.5 kB / 0.5649 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.3057, allocations: 35.16 kB / 0.5649 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.3061, allocations: 287.6 kB / 0.5652 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3063, allocations: 176.8 kB / 0.5654 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3065, allocations: 219.2 kB / 0.5656 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.3072, allocations: 0.6642 MB / 0.5663 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3072, allocations: 2.125 kB / 0.5663 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3072, allocations: 1.656 kB / 0.5663 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.3073, allocations: 0 / 0.5663 GB, free: 30.13 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.001073/0.3083, allocations: 0.7191 MB / 0.567 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3084, allocations: 13.5 kB / 0.567 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.3085, allocations: 81.31 kB / 0.567 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.3096, allocations: 163.6 kB / 0.5672 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.31, allocations: 319.8 kB / 0.5675 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.31, allocations: 28.86 kB / 0.5675 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.3101, allocations: 36.22 kB / 0.5676 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.3109, allocations: 0.6375 MB / 0.5682 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.311, allocations: 1.375 kB / 0.5682 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.311, allocations: 20.33 kB / 0.5682 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.683e-05/0.3111, allocations: 42.53 kB / 0.5683 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.3118, allocations: 494.4 kB / 0.5687 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.3145, allocations: 3.441 MB / 0.5721 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.3152, allocations: 377.4 kB / 0.5724 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3154, allocations: 177.5 kB / 0.5726 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3154, allocations: 7.797 kB / 0.5726 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3154, allocations: 37.33 kB / 0.5727 GB, free: 25.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.3155, allocations: 0 / 0.5727 GB, free: 25.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004176/0.3196, allocations: 1.451 MB / 0.5741 GB, free: 24.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.3197, allocations: 85.27 kB / 0.5742 GB, free: 24.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.32, allocations: 338.2 kB / 0.5745 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.32, allocations: 32.17 kB / 0.5745 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.3201, allocations: 256.2 kB / 0.5748 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.3202, allocations: 91.52 kB / 0.5748 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3203, allocations: 99.69 kB / 0.5749 GB, free: 24.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.3204, allocations: 341.4 kB / 0.5753 GB, free: 24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.3207, allocations: 189.2 kB / 0.5754 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.321, allocations: 351.2 kB / 0.5758 GB, free: 23.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.3216, allocations: 0.5425 MB / 0.5763 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3216, allocations: 2.156 kB / 0.5763 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002202/0.3238, allocations: 0.9204 MB / 0.5772 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3238, allocations: 7.984 kB / 0.5772 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3238, allocations: 10.16 kB / 0.5772 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.326, allocations: 0.4994 MB / 0.5777 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.3264, allocations: 100.8 kB / 0.5778 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0891/0.4155, allocations: 4.056 MB / 0.5818 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.4162, allocations: 47.61 kB / 0.5818 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.4162, allocations: 23.88 kB / 0.5818 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004325/0.4167, allocations: 302.8 kB / 0.5821 GB, free: 19.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000315/0.417, allocations: 341.1 kB / 0.5825 GB, free: 19.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005115/0.4175, allocations: 0.5056 MB / 0.5829 GB, free: 19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.4175, allocations: 1.469 kB / 0.5829 GB, free: 19 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008005/0.4183, allocations: 0.5444 MB / 0.5835 GB, free: 18.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4184, allocations: 8.391 kB / 0.5835 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4184, allocations: 6.594 kB / 0.5835 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.4184, allocations: 12.38 kB / 0.5835 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.4188, allocations: 113.1 kB / 0.5836 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4188, allocations: 13.81 kB / 0.5836 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.4192, allocations: 42.42 kB / 0.5837 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.4193, allocations: 19.22 kB / 0.5837 GB, free: 18.73 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.000123/0.4194, allocations: 204.3 kB / 0.5839 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.4195, allocations: 40.84 kB / 0.5839 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.4211, allocations: 0.6792 MB / 0.5846 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.4211, allocations: 7.781 kB / 0.5846 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4211, allocations: 1.281 kB / 0.5846 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4211, allocations: 1.734 kB / 0.5846 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.4219, allocations: 0.6565 MB / 0.5852 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4219, allocations: 1.281 kB / 0.5852 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.4221, allocations: 48.77 kB / 0.5853 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.4236, allocations: 403.6 kB / 0.5857 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.4236, allocations: 9.656 kB / 0.5857 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/0.4266, allocations: 3.755 MB / 0.5893 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4267, allocations: 5.297 kB / 0.5893 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4281, allocations: 0.8251 MB / 0.5902 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4282, allocations: 144.4 kB / 0.5903 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4283, allocations: 6.438 kB / 0.5903 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.4287, allocations: 38.47 kB / 0.5903 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.4287, allocations: 23 kB / 0.5904 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.4288, allocations: 14.5 kB / 0.5904 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.429, allocations: 238.3 kB / 0.5906 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.429, allocations: 0 / 0.5906 GB, free: 13.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008193/0.4298, allocations: 195.2 kB / 0.5908 GB, free: 13.36 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.001774/0.4316, allocations: 1.392 MB / 0.5921 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.4331, allocations: 1.012 MB / 0.5931 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4331, allocations: 1.031 kB / 0.5931 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.4337, allocations: 483.2 kB / 0.5936 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.4343, allocations: 84.94 kB / 0.5937 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.4407, allocations: 4.711 MB / 0.5983 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.441, allocations: 0.847 MB / 0.5991 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.4414, allocations: 143.1 kB / 0.5992 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4415, allocations: 115.4 kB / 0.5993 GB, free: 6.301 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4415, allocations: 0 / 0.5993 GB, free: 6.301 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.68/2.122, allocations: 10.58 MB / 0.6097 GB, free: 11.94 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/2.122, allocations: 238.4 kB / 0.6099 GB, free: 11.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/4.049, allocations: 6.375 kB / 0.6099 GB, free: 11.68 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)