Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.000816/0.000816, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8881/0.8881, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001019/0.001019, allocations: 160.2 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02165/0.02165, allocations: 6.667 MB / 319 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.883e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001329/0.001347, allocations: 1.234 MB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.001496, allocations: 28.3 kB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.001522, allocations: 4 kB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.001541, allocations: 0 / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.001587, allocations: 3.938 kB / 446.6 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.001719, allocations: 3.984 kB / 446.7 MB, free: 36.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.00178, allocations: 23.86 kB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.001831, allocations: 0 / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.001871, allocations: 7.984 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.001928, allocations: 4 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.001953, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.001961, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.001976, allocations: 11.94 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.001994, allocations: 3.938 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.023e-05/0.002055, allocations: 15.97 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002057, allocations: 4 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.002058, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002062, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002627/0.002324, allocations: 250.3 kB / 447 MB, free: 36.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.002363, allocations: 8.031 kB / 447 MB, free: 36.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.002389, allocations: 38.75 kB / 447 MB, free: 35.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.00241, allocations: 4.891 kB / 447 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.718e-05/0.002467, allocations: 105.8 kB / 447.1 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.002477, allocations: 4.375 kB / 447.1 MB, free: 35.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.002497, allocations: 4.312 kB / 447.1 MB, free: 35.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/0.002574, allocations: 38.25 kB / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002581, allocations: 192 / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.002589, allocations: 384 / 447.2 MB, free: 35.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.002594, allocations: 8.125 kB / 447.2 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.002635, allocations: 7.984 kB / 447.2 MB, free: 35.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.735e-05/0.002732, allocations: 120.8 kB / 447.3 MB, free: 35.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.002788, allocations: 38.55 kB / 447.3 MB, free: 35.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.00281, allocations: 16.86 kB / 447.4 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.002819, allocations: 0 / 447.4 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.002833, allocations: 38.55 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.002834, allocations: 3.938 kB / 447.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001189/0.002953, allocations: 45.78 kB / 447.4 MB, free: 35.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.002972, allocations: 55.34 kB / 447.5 MB, free: 35.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.003012, allocations: 101.8 kB / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.003017, allocations: 25.7 kB / 447.6 MB, free: 35.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.539e-05/0.003032, allocations: 84.14 kB / 447.7 MB, free: 35.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.003056, allocations: 11.91 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.003076, allocations: 17.66 kB / 447.7 MB, free: 35.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.607e-05/0.003102, allocations: 322.8 kB / 448 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.003112, allocations: 4 kB / 448 MB, free: 34.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.003121, allocations: 4 kB / 448.1 MB, free: 34.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.003149, allocations: 16.86 kB / 448.1 MB, free: 34.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.00315, allocations: 0 / 448.1 MB, free: 34.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.819e-05/0.003188, allocations: 49.69 kB / 448.1 MB, free: 34.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.0032, allocations: 8 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.003204, allocations: 0 / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.003214, allocations: 0 / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.003296, allocations: 19.86 kB / 448.1 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.003301, allocations: 4 kB / 448.1 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.003312, allocations: 0 / 448.1 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.003316, allocations: 7.922 kB / 448.2 MB, free: 34.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 3.005e-05/0.003346, allocations: 109.8 kB / 448.3 MB, free: 34.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-06/0.00335, allocations: 3.953 kB / 448.3 MB, free: 34.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.003365, allocations: 11.69 kB / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003366, allocations: 0 / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.003371, allocations: 3.938 kB / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.003373, allocations: 4 kB / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.866e-05/0.003411, allocations: 128.7 kB / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003412, allocations: 0 / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.00345, allocations: 12 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.003452, allocations: 3.984 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.003457, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.003458, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.003459, allocations: 3.938 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.003546, allocations: 81.66 kB / 448.5 MB, free: 34.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.003551, allocations: 0 / 448.5 MB, free: 34.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.00356, allocations: 3.938 kB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.003567, allocations: 0 / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.003579, allocations: 11.92 kB / 448.5 MB, free: 34.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.003581, allocations: 4.062 kB / 448.5 MB, free: 34.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.003594, allocations: 79.27 kB / 448.6 MB, free: 34.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003594, allocations: 0 / 448.6 MB, free: 34.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.003709, allocations: 8 kB / 448.6 MB, free: 34.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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.0001246/0.003834, allocations: 0.6008 MB / 449.2 MB, free: 33.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.24e-05/0.003896, allocations: 19.92 kB / 449.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.003898, allocations: 4 kB / 449.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-06/0.003905, allocations: 4 kB / 449.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.902e-05/0.004004, allocations: 10.75 kB / 449.3 MB, free: 33.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.004513, allocations: 1.153 MB / 450.4 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.174e-05/0.004535, allocations: 59.34 kB / 450.5 MB, free: 32.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.29e-05/0.004548, allocations: 0 / 450.5 MB, free: 32.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.004575, allocations: 16.53 kB / 450.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.004576, allocations: 0 / 450.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02025, allocations: 1.766 MB / 452.2 MB, free: 30.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.519/6.539, allocations: 9.266 kB / 452.3 MB, free: 30.49 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.372362163849175] Failed to read output from testmodel.py, exit status != 0: 6.619386880658567 6.626226569 6.622797362 Calling exit ...