Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.0007286/0.0007286, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.8999/0.8999, allocations: 177.1 MB / 199.4 MB, free: 5.961 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.0009987/0.0009987, allocations: 160.7 kB / 256 MB, free: 13.36 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.02501/0.02501, allocations: 6.662 MB / 319 MB, free: 26.79 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.VariablesTypes.ComplexCalculation,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.ComplexCalculation,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 445.4 MB, free: 37.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.244e-05, allocations: 5.094 kB / 445.4 MB, free: 37.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002041/0.002064, allocations: 1.374 MB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.002836, allocations: 0.8448 MB / 447.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.002869, allocations: 7.938 kB / 447.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.003095, allocations: 87.44 kB / 447.7 MB, free: 35.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.003158, allocations: 11.92 kB / 447.7 MB, free: 35.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.003508, allocations: 274.8 kB / 448 MB, free: 35.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.003626, allocations: 39.78 kB / 448 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.003662, allocations: 4 kB / 448 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.003739, allocations: 31.91 kB / 448 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.003769, allocations: 7.938 kB / 448 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.003781, allocations: 0 / 448 MB, free: 34.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.003953, allocations: 119.7 kB / 448.2 MB, free: 34.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.003963, allocations: 7.938 kB / 448.2 MB, free: 34.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.003979, allocations: 7.984 kB / 448.2 MB, free: 34.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004134, allocations: 155.5 kB / 448.3 MB, free: 34.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004136, allocations: 0 / 448.3 MB, free: 34.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004137, allocations: 0 / 448.3 MB, free: 34.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.004141, allocations: 0 / 448.3 MB, free: 34.69 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005195/0.00466, allocations: 357.9 kB / 448.7 MB, free: 34.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.004692, allocations: 8.031 kB / 448.7 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.168e-05/0.004714, allocations: 38.75 kB / 448.7 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.004735, allocations: 4.891 kB / 448.7 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.181e-05/0.004787, allocations: 113.7 kB / 448.8 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.004796, allocations: 384 / 448.8 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.004805, allocations: 4.375 kB / 448.8 MB, free: 34.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.004902, allocations: 58.23 kB / 448.9 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.004908, allocations: 192 / 448.9 MB, free: 34.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004918, allocations: 8.125 kB / 448.9 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.004923, allocations: 0 / 448.9 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.004985, allocations: 35.98 kB / 448.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.005095, allocations: 140.8 kB / 449.1 MB, free: 33.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.005205, allocations: 62.5 kB / 449.1 MB, free: 33.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.005239, allocations: 28.95 kB / 449.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.005254, allocations: 4 kB / 449.2 MB, free: 33.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.005266, allocations: 38.5 kB / 449.2 MB, free: 33.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 6.11e-07/0.005267, allocations: 0 / 449.2 MB, free: 33.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001666/0.005433, allocations: 97.58 kB / 449.3 MB, free: 33.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.005452, allocations: 55.41 kB / 449.4 MB, free: 33.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.496e-05/0.005487, allocations: 110.1 kB / 449.5 MB, free: 33.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.005493, allocations: 29.7 kB / 449.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.005507, allocations: 80.14 kB / 449.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.005532, allocations: 23.8 kB / 449.6 MB, free: 33.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.005557, allocations: 25.64 kB / 449.6 MB, free: 33.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.444e-05/0.005581, allocations: 310.8 kB / 449.9 MB, free: 32.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.005608, allocations: 24.23 kB / 450 MB, free: 32.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.005632, allocations: 20 kB / 450 MB, free: 32.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.005689, allocations: 48.86 kB / 450 MB, free: 32.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.00569, allocations: 0 / 450 MB, free: 32.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.105e-05/0.005771, allocations: 77.69 kB / 450.1 MB, free: 32.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005782, allocations: 6.5 kB / 450.1 MB, free: 32.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005786, allocations: 0 / 450.1 MB, free: 32.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005797, allocations: 3.938 kB / 450.1 MB, free: 32.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.005867, allocations: 19.92 kB / 450.1 MB, free: 32.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005871, allocations: 0 / 450.1 MB, free: 32.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.005892, allocations: 11.89 kB / 450.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005897, allocations: 0 / 450.1 MB, free: 32.69 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 (6): * Single equations (assignments): 6 * 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.755e-05/0.005935, allocations: 113.8 kB / 450.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.00594, allocations: 0 / 450.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.006057, allocations: 106.1 kB / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.00606, allocations: 7.938 kB / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006063, allocations: 0 / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006066, allocations: 0 / 450.4 MB, free: 32.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/0.006127, allocations: 144.7 kB / 450.5 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006128, allocations: 4 kB / 450.5 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.006165, allocations: 19.92 kB / 450.5 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006166, allocations: 0 / 450.5 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.006173, allocations: 4 kB / 450.5 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006174, allocations: 7.875 kB / 450.5 MB, free: 32.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006174, allocations: 0 / 450.5 MB, free: 32.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.006255, allocations: 113.3 kB / 450.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.006261, allocations: 3.953 kB / 450.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.006272, allocations: 12 kB / 450.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.00629, allocations: 3.938 kB / 450.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.006305, allocations: 3.984 kB / 450.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.006308, allocations: 4 kB / 450.7 MB, free: 32.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.426e-05/0.006322, allocations: 87.27 kB / 450.8 MB, free: 32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006322, allocations: 0 / 450.8 MB, free: 32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.006457, allocations: 12 kB / 450.8 MB, free: 31.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0001933/0.00665, allocations: 0.6593 MB / 451.4 MB, free: 31.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.006757, allocations: 51.92 kB / 451.5 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006759, allocations: 0 / 451.5 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.006786, allocations: 28 kB / 451.5 MB, free: 31.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.006892, allocations: 3.938 kB / 451.5 MB, free: 31.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.007178, allocations: 198.3 kB / 451.7 MB, free: 30.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.475e-05/0.007203, allocations: 67.34 kB / 451.8 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.007224, allocations: 4 kB / 451.8 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.007261, allocations: 16.48 kB / 451.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007262, allocations: 0 / 451.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02381, allocations: 2.613 MB / 454.4 MB, free: 28.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.679, allocations: 6.984 kB / 454.4 MB, free: 28.37 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_ComplexCalculation.fmu > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.54217347688973] Failed to read output from testmodel.py, exit status != 0: 6.757242936640978 6.762705466 6.757304441 Calling exit ...