Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.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.001354/0.001354, allocations: 105 kB / 20.48 MB, free: 1.488 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.001526/0.001526, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.45/1.45, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.9963/0.9963, allocations: 150 MB / 464 MB, free: 10.57 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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",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.00204/0.00204, allocations: 63.38 kB / 0.642 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1832, allocations: 89.18 MB / 0.7291 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5553/0.7385, allocations: 172.1 MB / 0.8972 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.7661, allocations: 17.75 MB / 0.9145 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.7677, allocations: 43.62 kB / 0.9146 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.7697, allocations: 0.5973 MB / 0.9151 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006285/0.776, allocations: 1.852 MB / 0.9169 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.7803, allocations: 1.508 MB / 0.9184 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.785, allocations: 2.919 MB / 0.9213 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.788, allocations: 1.61 MB / 0.9228 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.7931, allocations: 1.521 MB / 0.9243 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.7955, allocations: 1.163 MB / 0.9255 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.7964, allocations: 228 kB / 0.9257 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.8005, allocations: 1.673 MB / 0.9273 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.8017, allocations: 0.8218 MB / 0.9281 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.8041, allocations: 1.29 MB / 0.9294 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006854/0.8109, allocations: 3.81 MB / 0.9331 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8109, allocations: 0 / 0.9331 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8109, allocations: 0 / 0.9331 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001266/0.8111, allocations: 4 kB / 0.9331 GB, free: 6.449 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006716/0.8178, allocations: 2.986 MB / 0.936 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8178, allocations: 12.03 kB / 0.936 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.655e-05/0.8179, allocations: 43.39 kB / 0.9361 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003233/0.8182, allocations: 244.9 kB / 0.9363 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004407/0.8226, allocations: 0.6384 MB / 0.9369 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005155/0.8278, allocations: 3.375 MB / 0.9402 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.8279, allocations: 139.3 kB / 0.9404 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.8282, allocations: 164 kB / 0.9405 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/0.8321, allocations: 1.952 MB / 0.9424 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.8321, allocations: 0 / 0.9424 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.8323, allocations: 76 kB / 0.9425 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.8324, allocations: 40 kB / 0.9425 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.8364, allocations: 2.12 MB / 0.9446 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.8484, allocations: 6.87 MB / 0.9513 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.8521, allocations: 1.736 MB / 0.953 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.8535, allocations: 0.7139 MB / 0.9537 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.8539, allocations: 125.2 kB / 0.9538 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.8558, allocations: 1.017 MB / 0.9548 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.176e-06/0.8558, allocations: 0 / 0.9548 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.00716/0.8629, allocations: 2.633 MB / 0.9574 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.8631, allocations: 197.2 kB / 0.9576 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.8688, allocations: 4.127 MB / 0.9616 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.8691, allocations: 61.7 kB / 0.9617 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009774/0.8701, allocations: 0.9156 MB / 0.9626 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.8708, allocations: 0.4957 MB / 0.963 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.8713, allocations: 242.8 kB / 0.9633 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8714, allocations: 349.9 kB / 0.9636 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8726, allocations: 0.5921 MB / 0.9642 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.8741, allocations: 0.8047 MB / 0.965 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.8766, allocations: 1.337 MB / 0.9663 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8766, allocations: 0 / 0.9663 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004364/0.881, allocations: 1.808 MB / 0.968 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.881, allocations: 5.406 kB / 0.968 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.881, allocations: 0 / 0.968 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.8821, allocations: 220.1 kB / 0.9683 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.8836, allocations: 327.6 kB / 0.9686 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006632/0.8902, allocations: 6.823 MB / 0.9752 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8919, allocations: 171.2 kB / 0.9754 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.8921, allocations: 47.95 kB / 0.9754 GB, free: 9.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.8931, allocations: 493.4 kB / 0.9759 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/0.8936, allocations: 218.5 kB / 0.9761 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.8984, allocations: 2.15 MB / 0.9782 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.8985, allocations: 16 kB / 0.9782 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8985, allocations: 0 / 0.9782 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.8985, allocations: 7.969 kB / 0.9782 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.9062, allocations: 4.125 MB / 0.9823 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9062, allocations: 0 / 0.9823 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.9076, allocations: 319.5 kB / 0.9826 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008569/0.9085, allocations: 196.1 kB / 0.9828 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.9086, allocations: 39.97 kB / 0.9828 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/0.9152, allocations: 6.866 MB / 0.9895 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9152, allocations: 4.031 kB / 0.9895 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.9202, allocations: 2.03 MB / 0.9915 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.9215, allocations: 462 kB / 0.9919 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/0.922, allocations: 35.92 kB / 0.992 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.9235, allocations: 115.6 kB / 0.9921 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.9238, allocations: 121 kB / 0.9922 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/0.924, allocations: 71.89 kB / 0.9923 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003907/0.9279, allocations: 3.165 MB / 0.9954 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9279, allocations: 0 / 0.9954 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002212/0.9301, allocations: 0.6976 MB / 0.996 GB, free: 3.906 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007194/0.9373, allocations: 3.23 MB / 0.9992 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004065/0.9414, allocations: 2.023 MB / 1.001 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.9414, allocations: 4.641 kB / 1.001 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.9438, allocations: 1.375 MB / 1.003 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.947, allocations: 0.5393 MB / 1.003 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/0.9821, allocations: 21.26 MB / 1.024 GB, free: 7.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/0.9838, allocations: 1.549 MB / 1.025 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001927/0.9857, allocations: 0.5252 MB / 1.026 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.9872, allocations: 0.9132 MB / 1.027 GB, free: 4.273 MB / 0.795 GB Notification: Performance of SimCode: time 1.472e-06/0.9872, allocations: 4 kB / 1.027 GB, free: 4.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.103, allocations: 51.18 MB / 1.077 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.7, allocations: 10.34 kB / 1.077 GB, free: 1.473 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.069738449004944] Failed to read output from testmodel.py, exit status != 0: 18.31498626305256 18.327076541 17.513154406 Calling exit ...