Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001591/0.001591, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001803/0.001803, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.614/1.614, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.016/1.016, allocations: 150 MB / 460.2 MB, free: 5.301 MB / 350.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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002643/0.002643, allocations: 66.06 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2729, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.008103/0.281, allocations: 3.313 MB / 0.7271 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005222/0.2862, allocations: 2.076 MB / 0.7291 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.2865, allocations: 11.94 kB / 0.7291 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2879, allocations: 294.8 kB / 0.7294 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009888/0.2889, allocations: 235 kB / 0.7296 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.29, allocations: 283.3 kB / 0.7299 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.2909, allocations: 414.7 kB / 0.7303 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/0.2915, allocations: 164.3 kB / 0.7304 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.292, allocations: 175.4 kB / 0.7306 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.2926, allocations: 215.2 kB / 0.7308 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.2927, allocations: 24 kB / 0.7308 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.2934, allocations: 267.5 kB / 0.7311 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.2937, allocations: 123.7 kB / 0.7312 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.2939, allocations: 151.2 kB / 0.7314 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.295, allocations: 490.2 kB / 0.7318 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.295, allocations: 0 / 0.7318 GB, free: 11.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.295, allocations: 7.875 kB / 0.7318 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.2951, allocations: 0 / 0.7318 GB, free: 11.84 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001775/0.2968, allocations: 0.6037 MB / 0.7324 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2969, allocations: 12.03 kB / 0.7324 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/0.2969, allocations: 8.75 kB / 0.7324 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.297, allocations: 62.72 kB / 0.7325 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.2985, allocations: 116.6 kB / 0.7326 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.2991, allocations: 288.5 kB / 0.7329 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2991, allocations: 12.94 kB / 0.7329 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.2993, allocations: 36.3 kB / 0.7329 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3004, allocations: 457.1 kB / 0.7334 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3004, allocations: 0 / 0.7334 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.3005, allocations: 15.98 kB / 0.7334 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.3007, allocations: 40.53 kB / 0.7334 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.3017, allocations: 361.9 kB / 0.7338 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.3056, allocations: 2.222 MB / 0.7359 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.3062, allocations: 246.4 kB / 0.7362 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.3066, allocations: 144.8 kB / 0.7363 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3066, allocations: 8 kB / 0.7363 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.3066, allocations: 30.94 kB / 0.7363 GB, free: 6.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 2.926e-06/0.3066, allocations: 0 / 0.7363 GB, free: 6.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.00276/0.3094, allocations: 1.068 MB / 0.7374 GB, free: 5.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3095, allocations: 59.34 kB / 0.7374 GB, free: 5.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.31, allocations: 256.9 kB / 0.7377 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.31, allocations: 29.7 kB / 0.7377 GB, free: 5.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3102, allocations: 192.4 kB / 0.7379 GB, free: 5.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3103, allocations: 87.27 kB / 0.738 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.3105, allocations: 77.62 kB / 0.7381 GB, free: 4.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3107, allocations: 338.8 kB / 0.7384 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.3111, allocations: 159.8 kB / 0.7385 GB, free: 4.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.3117, allocations: 241.6 kB / 0.7388 GB, free: 4.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.3126, allocations: 414.8 kB / 0.7392 GB, free: 3.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3126, allocations: 0 / 0.7392 GB, free: 3.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001865/0.3145, allocations: 0.5934 MB / 0.7397 GB, free: 3.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3145, allocations: 4 kB / 0.7397 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3145, allocations: 7.938 kB / 0.7398 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3155, allocations: 188.9 kB / 0.7399 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.316, allocations: 67.89 kB / 0.74 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.3205, allocations: 2.498 MB / 0.7424 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.3211, allocations: 23.92 kB / 0.7425 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.3211, allocations: 24.05 kB / 0.7425 GB, free: 244 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.3214, allocations: 166.5 kB / 0.7426 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3215, allocations: 23.86 kB / 0.7427 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009366/0.3225, allocations: 355.5 kB / 0.743 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3225, allocations: 0 / 0.743 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3225, allocations: 3.984 kB / 0.743 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3225, allocations: 0 / 0.743 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.324, allocations: 0.8239 MB / 0.7438 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.324, allocations: 0 / 0.7438 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.3244, allocations: 79.88 kB / 0.7439 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3244, allocations: 0 / 0.7439 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3244, allocations: 4 kB / 0.7439 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3245, allocations: 0 / 0.7439 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3245, allocations: 0 / 0.7439 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.3253, allocations: 0.626 MB / 0.7445 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3255, allocations: 128.9 kB / 0.7446 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.3256, allocations: 4 kB / 0.7446 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.3258, allocations: 19.98 kB / 0.7446 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3259, allocations: 19.91 kB / 0.7447 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3259, allocations: 8 kB / 0.7447 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002864/0.3262, allocations: 192.5 kB / 0.7449 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 0 / 0.7449 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000523/0.3267, allocations: 88 kB / 0.7449 GB, free: 13.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001339/0.328, allocations: 1.155 MB / 0.7461 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.3292, allocations: 0.5026 MB / 0.7466 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3292, allocations: 4.125 kB / 0.7466 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3294, allocations: 139.9 kB / 0.7467 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3299, allocations: 50.47 kB / 0.7467 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.3362, allocations: 3.708 MB / 0.7504 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3367, allocations: 0.7951 MB / 0.7511 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.3369, allocations: 78.91 kB / 0.7512 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3371, allocations: 87.39 kB / 0.7513 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.3371, allocations: 0 / 0.7513 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3717, allocations: 7.003 MB / 0.7581 GB, free: 48 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.86, allocations: 13.73 kB / 0.7582 GB, free: 36 kB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.046510082960594] Failed to read output from testmodel.py, exit status != 0: 11.00980012997752 11.026249067 10.727635335 Calling exit ...