Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.004767/0.004767, allocations: 111.5 kB / 21.97 MB, free: 5.25 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.001393/0.001393, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001675/0.001675, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002934/0.2429, allocations: 2.347 MB / 399.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2438, allocations: 0.7204 MB / 400.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.2439, allocations: 6.562 kB / 400.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2441, allocations: 31.23 kB / 400.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.2442, allocations: 53.94 kB / 400.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2445, allocations: 89.61 kB / 400.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.2447, allocations: 278.6 kB / 400.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.2449, allocations: 76.55 kB / 400.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.2451, allocations: 121.2 kB / 400.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2452, allocations: 121.4 kB / 401 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.2453, allocations: 22.31 kB / 401 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.2453, allocations: 21.81 kB / 401 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.2454, allocations: 56.02 kB / 401.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2455, allocations: 118.8 kB / 401.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.2458, allocations: 286.5 kB / 401.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2458, allocations: 0 / 401.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2458, allocations: 0 / 401.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2458, allocations: 0 / 401.5 MB, free: 6.211 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008455/0.2467, allocations: 0.5934 MB / 402.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2467, allocations: 14.28 kB / 402.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.2467, allocations: 8.469 kB / 402.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.2468, allocations: 55.64 kB / 402.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.2468, allocations: 31.69 kB / 402.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2471, allocations: 178.8 kB / 402.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.2472, allocations: 84.81 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2472, allocations: 24.95 kB / 402.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.2477, allocations: 257.8 kB / 402.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2477, allocations: 0.5156 kB / 402.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2478, allocations: 6.344 kB / 402.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2478, allocations: 5.688 kB / 402.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.2482, allocations: 207 kB / 402.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2493, allocations: 0.7235 MB / 403.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.2498, allocations: 262.9 kB / 403.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.2502, allocations: 194.5 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2502, allocations: 2.625 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2506, allocations: 309.4 kB / 404.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2506, allocations: 0 / 404.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001056/0.2517, allocations: 0.5828 MB / 405 MB, free: 4.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.2518, allocations: 206.9 kB / 405.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2519, allocations: 176.6 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2519, allocations: 42.55 kB / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.252, allocations: 132.8 kB / 405.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.252, allocations: 81.27 kB / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.2521, allocations: 68.28 kB / 405.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.2522, allocations: 341.4 kB / 406 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2524, allocations: 105.4 kB / 406.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2526, allocations: 170.2 kB / 406.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2531, allocations: 417.3 kB / 406.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2531, allocations: 1.25 kB / 406.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006018/0.2537, allocations: 443.9 kB / 407.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.2537, allocations: 100.6 kB / 407.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2537, allocations: 1.406 kB / 407.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2537, allocations: 3.625 kB / 407.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2539, allocations: 37.58 kB / 407.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2539, allocations: 4.062 kB / 407.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2541, allocations: 33.73 kB / 407.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2541, allocations: 17.5 kB / 407.3 MB, free: 2.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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 0.000164/0.2543, allocations: 235.5 kB / 407.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.2543, allocations: 30.34 kB / 407.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.2544, allocations: 24.09 kB / 407.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2544, allocations: 2.125 kB / 407.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2544, allocations: 1.375 kB / 407.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2544, allocations: 5.266 kB / 407.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2555, allocations: 0.9111 MB / 408.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2555, allocations: 1.375 kB / 408.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2557, allocations: 23.8 kB / 408.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2557, allocations: 1.375 kB / 408.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.2557, allocations: 11.52 kB / 408.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2557, allocations: 1.375 kB / 408.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2557, allocations: 2.031 kB / 408.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.2565, allocations: 0.6211 MB / 409.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.2565, allocations: 19.78 kB / 409.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.2566, allocations: 20.2 kB / 409.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2568, allocations: 19.08 kB / 409.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.2569, allocations: 28.42 kB / 409.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2569, allocations: 13.88 kB / 409.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.064e-05/0.257, allocations: 132.9 kB / 409.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.257, allocations: 3.938 kB / 409.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.2573, allocations: 78.31 kB / 409.5 MB, free: 1.168 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001053/0.2584, allocations: 1.182 MB / 410.7 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007605/0.2591, allocations: 0.5123 MB / 411.2 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2591, allocations: 0 / 411.2 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.2596, allocations: 313.7 kB / 411.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.2603, allocations: 147.4 kB / 411.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2645, allocations: 2.937 MB / 414.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.265, allocations: 0.7524 MB / 415.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.2653, allocations: 54.03 kB / 415.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2654, allocations: 67.97 kB / 415.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2654, allocations: 0 / 415.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.2935, allocations: 6.89 MB / 422.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.95, allocations: 8.062 kB / 422.3 MB, free: 9.289 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.16282485803822] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.103812001994811 11.117268512 10.868630367 Calling exit ...