Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.0008207/0.0008207, 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.9105/0.9105, 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.001147/0.001147, 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.02202/0.02202, 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.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.144e-05, allocations: 2.281 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0007848/0.0007963, allocations: 493 kB / 445.9 MB, free: 37.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.0009165, allocations: 27.89 kB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.0009349, allocations: 3.938 kB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.0009499, allocations: 0 / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.0009729, allocations: 0 / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.00108, allocations: 7.938 kB / 445.9 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.001124, allocations: 11.98 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.001162, allocations: 0 / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.00119, allocations: 4 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.001233, allocations: 7.922 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.001251, allocations: 0 / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.001257, allocations: 4 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.00127, allocations: 4 kB / 445.9 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.001284, allocations: 7.922 kB / 445.9 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.46e-05/0.001338, allocations: 8 kB / 445.9 MB, free: 37.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.001341, allocations: 3.984 kB / 445.9 MB, free: 37.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.001341, allocations: 0 / 445.9 MB, free: 37.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.001345, allocations: 0 / 445.9 MB, free: 37.08 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.0002209/0.001566, allocations: 242.4 kB / 446.2 MB, free: 36.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.001601, allocations: 8.031 kB / 446.2 MB, free: 36.8 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.177e-05/0.001622, allocations: 38.73 kB / 446.2 MB, free: 36.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.586e-05/0.001638, allocations: 8.828 kB / 446.2 MB, free: 36.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.649e-05/0.001685, allocations: 105.8 kB / 446.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.001694, allocations: 4.375 kB / 446.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.00171, allocations: 384 / 446.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/0.001778, allocations: 38.25 kB / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.001784, allocations: 4.125 kB / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.001791, allocations: 384 / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.001795, allocations: 8.125 kB / 446.4 MB, free: 36.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.652e-05/0.001822, allocations: 4 kB / 446.4 MB, free: 36.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.856e-05/0.00191, allocations: 129.1 kB / 446.5 MB, free: 36.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.001962, allocations: 34.58 kB / 446.6 MB, free: 36.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.001982, allocations: 12.94 kB / 446.6 MB, free: 36.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.001989, allocations: 4 kB / 446.6 MB, free: 36.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.002002, allocations: 38.5 kB / 446.6 MB, free: 36.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.002002, allocations: 0 / 446.6 MB, free: 36.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000105/0.002107, allocations: 49.67 kB / 446.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.002124, allocations: 59.34 kB / 446.7 MB, free: 36.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.749e-05/0.002152, allocations: 93.86 kB / 446.8 MB, free: 36.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-06/0.002156, allocations: 25.7 kB / 446.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.343e-05/0.002169, allocations: 84.14 kB / 446.9 MB, free: 35.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.002189, allocations: 15.89 kB / 446.9 MB, free: 35.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.002207, allocations: 13.72 kB / 447 MB, free: 35.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.476e-05/0.002232, allocations: 322.8 kB / 447.3 MB, free: 35.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.002241, allocations: 4 kB / 447.3 MB, free: 35.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.002255, allocations: 7.984 kB / 447.3 MB, free: 35.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.002281, allocations: 24.8 kB / 447.3 MB, free: 35.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.002282, allocations: 0 / 447.3 MB, free: 35.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.142e-05/0.002314, allocations: 45.69 kB / 447.3 MB, free: 35.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.002323, allocations: 8 kB / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.002326, allocations: 0 / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.002337, allocations: 0 / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.002408, allocations: 11.94 kB / 447.4 MB, free: 35.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.002413, allocations: 0 / 447.4 MB, free: 35.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.002422, allocations: 4 kB / 447.4 MB, free: 35.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.002426, allocations: 7.922 kB / 447.4 MB, free: 35.46 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 2.625e-05/0.002452, allocations: 117.8 kB / 447.5 MB, free: 35.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-06/0.002455, allocations: 7.891 kB / 447.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.002469, allocations: 11.69 kB / 447.5 MB, free: 35.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.00247, allocations: 0 / 447.5 MB, free: 35.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.002474, allocations: 7.938 kB / 447.5 MB, free: 35.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.002477, allocations: 0 / 447.5 MB, free: 35.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.598e-05/0.002513, allocations: 124.8 kB / 447.6 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.002513, allocations: 0 / 447.6 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.002547, allocations: 12 kB / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.002548, allocations: 0 / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.002553, allocations: 0 / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.002553, allocations: 0 / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.002554, allocations: 3.938 kB / 447.7 MB, free: 35.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.136e-05/0.002625, allocations: 79.8 kB / 447.7 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.00263, allocations: 4.547 kB / 447.7 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-06/0.002637, allocations: 0 / 447.7 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-06/0.002643, allocations: 0 / 447.7 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.002654, allocations: 11.91 kB / 447.8 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-07/0.002655, allocations: 0 / 447.8 MB, free: 35.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.057e-05/0.002666, allocations: 83.33 kB / 447.8 MB, free: 34.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002666, allocations: 4 kB / 447.8 MB, free: 34.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.002775, allocations: 4 kB / 447.8 MB, free: 34.92 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.0001138/0.002888, allocations: 0.6086 MB / 448.4 MB, free: 34.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.002947, allocations: 15.92 kB / 448.5 MB, free: 34.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.002948, allocations: 0 / 448.5 MB, free: 34.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.002956, allocations: 12 kB / 448.5 MB, free: 34.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.809e-05/0.003054, allocations: 6.75 kB / 448.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.003457, allocations: 1.11 MB / 449.6 MB, free: 33.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.216e-05/0.003479, allocations: 67.34 kB / 449.7 MB, free: 32.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.222e-05/0.003492, allocations: 0 / 449.7 MB, free: 32.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.003516, allocations: 8.5 kB / 449.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.003517, allocations: 0 / 449.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.01702, allocations: 1.743 MB / 451.4 MB, free: 31.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/6.597, allocations: 9.203 kB / 451.4 MB, free: 31.34 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.436959895305336] Failed to read output from testmodel.py, exit status != 0: 6.673830362968147 6.684106371 6.681367201 Calling exit ...