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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 115.4 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8225/0.8225, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] 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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 83.44 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004099/0.3545, allocations: 3.287 MB / 0.6834 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3578, allocations: 2.048 MB / 0.6854 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.358, allocations: 4.469 kB / 0.6854 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.3589, allocations: 300.1 kB / 0.6857 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.3594, allocations: 240.2 kB / 0.6859 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.3601, allocations: 295.4 kB / 0.6862 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.3605, allocations: 404.1 kB / 0.6866 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.3608, allocations: 167.8 kB / 0.6867 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3609, allocations: 159.7 kB / 0.6869 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3612, allocations: 209.9 kB / 0.6871 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.3613, allocations: 24.06 kB / 0.6871 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.3617, allocations: 272.1 kB / 0.6874 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3618, allocations: 125.4 kB / 0.6875 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3619, allocations: 147.3 kB / 0.6876 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.3624, allocations: 499.3 kB / 0.6881 GB, free: 72 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3624, allocations: 4 kB / 0.6881 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3624, allocations: 1.094 kB / 0.6881 GB, free: 68 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3624, allocations: 0 / 0.6881 GB, free: 68 kB / 0.4981 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.001225/0.3637, allocations: 0.6003 MB / 0.6887 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3637, allocations: 9.75 kB / 0.6887 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.399e-05/0.3638, allocations: 68.58 kB / 0.6888 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3648, allocations: 125.6 kB / 0.6889 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.3653, allocations: 284.4 kB / 0.6892 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3653, allocations: 13.81 kB / 0.6892 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3654, allocations: 37.45 kB / 0.6892 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.3662, allocations: 457 kB / 0.6896 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3662, allocations: 5.203 kB / 0.6897 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.3663, allocations: 10.62 kB / 0.6897 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.3664, allocations: 47.5 kB / 0.6897 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.367, allocations: 361.1 kB / 0.6901 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.3699, allocations: 2.217 MB / 0.6922 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.3704, allocations: 243.5 kB / 0.6924 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3706, allocations: 142.3 kB / 0.6926 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3706, allocations: 2.531 kB / 0.6926 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3706, allocations: 41.08 kB / 0.6926 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3706, allocations: 4 kB / 0.6926 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001925/0.3726, allocations: 1.067 MB / 0.6937 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3726, allocations: 53.84 kB / 0.6937 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.373, allocations: 253.9 kB / 0.694 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.373, allocations: 31.14 kB / 0.694 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3731, allocations: 191.3 kB / 0.6942 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.3732, allocations: 93.67 kB / 0.6943 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.3733, allocations: 80.19 kB / 0.6943 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3735, allocations: 332.5 kB / 0.6947 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.3738, allocations: 158.9 kB / 0.6948 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.3741, allocations: 242.8 kB / 0.695 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.3747, allocations: 421.6 kB / 0.6954 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3747, allocations: 5.219 kB / 0.6955 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001278/0.376, allocations: 0.5912 MB / 0.696 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.376, allocations: 6.531 kB / 0.696 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3761, allocations: 2.5 kB / 0.696 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007289/0.3768, allocations: 182.5 kB / 0.6962 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3771, allocations: 71.16 kB / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.3804, allocations: 2.494 MB / 0.6987 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.3808, allocations: 19.86 kB / 0.6987 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3809, allocations: 18.55 kB / 0.6988 GB, free: 7.562 MB / 0.5137 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.0002193/0.3811, allocations: 168.7 kB / 0.6989 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.3811, allocations: 27.08 kB / 0.6989 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.3817, allocations: 350.1 kB / 0.6993 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3817, allocations: 2.312 kB / 0.6993 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3817, allocations: 7.938 kB / 0.6993 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3817, allocations: 1.5 kB / 0.6993 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.3829, allocations: 0.8172 MB / 0.7001 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3829, allocations: 1.375 kB / 0.7001 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.3833, allocations: 81.56 kB / 0.7002 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3833, allocations: 1.375 kB / 0.7002 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3833, allocations: 2.75 kB / 0.7002 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3833, allocations: 2.75 kB / 0.7002 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3833, allocations: 0 / 0.7002 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.3841, allocations: 0.6215 MB / 0.7008 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3843, allocations: 132.4 kB / 0.7009 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3844, allocations: 6.25 kB / 0.7009 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3846, allocations: 15.98 kB / 0.7009 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3847, allocations: 18.44 kB / 0.7009 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.3847, allocations: 9 kB / 0.7009 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002442/0.3849, allocations: 188 kB / 0.7011 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3849, allocations: 0 / 0.7011 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004393/0.3854, allocations: 94.47 kB / 0.7012 GB, free: 5.832 MB / 0.5137 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.001155/0.3865, allocations: 1.158 MB / 0.7023 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000968/0.3875, allocations: 0.5136 MB / 0.7028 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.3875, allocations: 1.344 kB / 0.7029 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3877, allocations: 145.8 kB / 0.703 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3882, allocations: 50.95 kB / 0.703 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.3937, allocations: 3.696 MB / 0.7066 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3941, allocations: 0.7946 MB / 0.7074 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.3943, allocations: 80.09 kB / 0.7075 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.3945, allocations: 87.39 kB / 0.7076 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.3945, allocations: 0 / 0.7076 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4288, allocations: 6.963 MB / 0.7144 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.71, allocations: 10.41 kB / 0.7144 GB, free: 10.07 MB / 0.5294 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 sys.exit(0), Time elapsed: 13.939613033086061] Failed to read output from testmodel.py, exit status != 0: 10.796304436866194 10.822134475 10.455971726 Calling exit ...