Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 217.3 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9732/0.9732, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 62.06 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1958, allocations: 89.17 MB / 0.729 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005972/0.2018, allocations: 3.074 MB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.2051, allocations: 1.683 MB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.2052, allocations: 4 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2064, allocations: 330.7 kB / 0.734 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.207, allocations: 215.1 kB / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.2076, allocations: 175.5 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.208, allocations: 335 kB / 0.7347 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.2084, allocations: 168.9 kB / 0.7349 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.2088, allocations: 147.5 kB / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.2092, allocations: 175.4 kB / 0.7352 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.2092, allocations: 24 kB / 0.7352 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.2097, allocations: 215.6 kB / 0.7354 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2098, allocations: 111.6 kB / 0.7355 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.21, allocations: 99.58 kB / 0.7356 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.2106, allocations: 422.5 kB / 0.736 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2106, allocations: 4 kB / 0.736 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2106, allocations: 0 / 0.736 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.2106, allocations: 0 / 0.736 GB, free: 9.625 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001064/0.2117, allocations: 497.3 kB / 0.7365 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2117, allocations: 8.031 kB / 0.7365 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.2118, allocations: 4.625 kB / 0.7365 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.325e-05/0.2118, allocations: 62.72 kB / 0.7365 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.2127, allocations: 92.69 kB / 0.7366 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.213, allocations: 200.4 kB / 0.7368 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.213, allocations: 20.8 kB / 0.7368 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2131, allocations: 36.25 kB / 0.7369 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.2138, allocations: 423.9 kB / 0.7373 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2138, allocations: 4 kB / 0.7373 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.2139, allocations: 4 kB / 0.7373 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.214, allocations: 32.41 kB / 0.7373 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.2145, allocations: 309.5 kB / 0.7376 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.2162, allocations: 1.085 MB / 0.7387 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.2166, allocations: 214.3 kB / 0.7389 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.2168, allocations: 108.8 kB / 0.739 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.2169, allocations: 7.984 kB / 0.739 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2169, allocations: 38.56 kB / 0.739 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.217, allocations: 0 / 0.739 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001292/0.2182, allocations: 0.7175 MB / 0.7397 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2183, allocations: 51.41 kB / 0.7398 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2185, allocations: 206.6 kB / 0.74 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.2185, allocations: 29.7 kB / 0.74 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2187, allocations: 160.2 kB / 0.7402 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2187, allocations: 67.42 kB / 0.7402 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2188, allocations: 61.66 kB / 0.7403 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.219, allocations: 330.8 kB / 0.7406 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2192, allocations: 115.9 kB / 0.7407 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2194, allocations: 167 kB / 0.7409 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.2198, allocations: 300.6 kB / 0.7412 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2198, allocations: 0 / 0.7412 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008141/0.2206, allocations: 417.3 kB / 0.7416 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2206, allocations: 14.11 kB / 0.7416 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2206, allocations: 4 kB / 0.7416 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.2211, allocations: 92.77 kB / 0.7417 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2213, allocations: 56.02 kB / 0.7417 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.2234, allocations: 1.772 MB / 0.7434 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.2237, allocations: 15.98 kB / 0.7435 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2237, allocations: 11.98 kB / 0.7435 GB, free: 1.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.2239, allocations: 157.8 kB / 0.7436 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2239, allocations: 15.91 kB / 0.7436 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.2245, allocations: 297.2 kB / 0.7439 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2245, allocations: 0 / 0.7439 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2245, allocations: 11.88 kB / 0.7439 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2245, allocations: 3.984 kB / 0.7439 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/0.2255, allocations: 0.6474 MB / 0.7446 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2255, allocations: 0 / 0.7446 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.2258, allocations: 55.95 kB / 0.7446 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.2258, allocations: 3.938 kB / 0.7446 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2258, allocations: 8 kB / 0.7446 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2259, allocations: 7.922 kB / 0.7446 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2259, allocations: 4 kB / 0.7446 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.2265, allocations: 0.5048 MB / 0.7451 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2266, allocations: 47.8 kB / 0.7452 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.2267, allocations: 0 / 0.7452 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2269, allocations: 20.11 kB / 0.7452 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2269, allocations: 11.97 kB / 0.7452 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2269, allocations: 12 kB / 0.7452 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001476/0.2271, allocations: 144 kB / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2271, allocations: 0 / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003874/0.2275, allocations: 71.94 kB / 0.7454 GB, free: 15.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.2285, allocations: 1.055 MB / 0.7465 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007941/0.2293, allocations: 414.6 kB / 0.7469 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2293, allocations: 4 kB / 0.7469 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.2295, allocations: 118 kB / 0.747 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2299, allocations: 44.7 kB / 0.747 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.2344, allocations: 2.893 MB / 0.7498 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2346, allocations: 161.4 kB / 0.75 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.2348, allocations: 53.91 kB / 0.75 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2349, allocations: 63.42 kB / 0.7501 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.2349, allocations: 0 / 0.7501 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.2655, allocations: 5.447 MB / 0.7554 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.13, allocations: 4.906 kB / 0.7554 GB, free: 5.215 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.494648430962116] Failed to read output from testmodel.py, exit status != 0: 12.30112643702887 12.635420805 12.420587273 Calling exit ...