Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001489/0.001489, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001728/0.001728, allocations: 190.8 kB / 24.49 MB, free: 3.98 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.377/1.377, allocations: 225.7 MB / 253.3 MB, free: 12.89 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 47.92 kB / 371.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.24, allocations: 52.19 MB / 423.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00282/0.2428, allocations: 1.512 MB / 424.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.2432, allocations: 131.6 kB / 425 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.2433, allocations: 4 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.2433, allocations: 7.922 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2434, allocations: 3.938 kB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.2437, allocations: 39.84 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.2438, allocations: 31.86 kB / 425.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2439, allocations: 19.97 kB / 425.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.2439, allocations: 11.94 kB / 425.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.2439, allocations: 15.92 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.244, allocations: 4 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.244, allocations: 4 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.244, allocations: 15.92 kB / 425.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2441, allocations: 15.88 kB / 425.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2442, allocations: 46.06 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2442, allocations: 3.938 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2442, allocations: 0 / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2442, allocations: 0 / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004564/0.2447, allocations: 290.1 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2447, allocations: 15.97 kB / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.2447, allocations: 4.188 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.2448, allocations: 34.75 kB / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.2448, allocations: 12.83 kB / 425.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.245, allocations: 134.4 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2451, allocations: 4.375 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2451, allocations: 4.375 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.2453, allocations: 121.3 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2453, allocations: 0 / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2454, allocations: 3.984 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2454, allocations: 4 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.2454, allocations: 15.94 kB / 425.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.2457, allocations: 232.8 kB / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2459, allocations: 57.14 kB / 426.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.2459, allocations: 25.77 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.246, allocations: 4 kB / 426.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.246, allocations: 38.56 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.246, allocations: 0 / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.2462, allocations: 73.56 kB / 426.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2463, allocations: 77.11 kB / 426.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2464, allocations: 129.8 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2464, allocations: 33.64 kB / 426.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.2465, allocations: 84.09 kB / 426.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-06/0.2465, allocations: 4 kB / 426.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.2465, allocations: 25.7 kB / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2467, allocations: 315 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.2467, allocations: 7.984 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.2468, allocations: 31.44 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.2468, allocations: 43.3 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2468, allocations: 4 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.2469, allocations: 61.58 kB / 427.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.247, allocations: 8 kB / 427.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.247, allocations: 7.875 kB / 427.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.247, allocations: 0 / 427.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.554e-05/0.247, allocations: 4 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.247, allocations: 3.938 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.247, allocations: 8 kB / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.247, allocations: 0 / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 9.756e-05/0.2471, allocations: 125.8 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.2472, allocations: 49.77 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.2472, allocations: 8 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2472, allocations: 0 / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2473, allocations: 4 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2473, allocations: 0 / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2474, allocations: 136.7 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2474, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.2474, allocations: 7.984 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2474, allocations: 0 / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2474, allocations: 3.938 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2474, allocations: 0 / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2474, allocations: 4 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2476, allocations: 168.6 kB / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.2477, allocations: 11.98 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2477, allocations: 0 / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.2477, allocations: 8 kB / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.2478, allocations: 0 / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2478, allocations: 4 kB / 427.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.2478, allocations: 106.8 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2478, allocations: 0 / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.2481, allocations: 4 kB / 427.7 MB, free: 9.742 MB / 334.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005155/0.2486, allocations: 0.7053 MB / 428.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2487, allocations: 27.92 kB / 428.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2487, allocations: 0 / 428.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.2487, allocations: 4 kB / 428.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.249, allocations: 26.52 kB / 428.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2503, allocations: 1.31 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.233e-05/0.2504, allocations: 79.12 kB / 429.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.895e-05/0.2504, allocations: 4 kB / 429.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2505, allocations: 11.44 kB / 429.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2505, allocations: 0 / 429.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2729, allocations: 1.651 MB / 431.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.85, allocations: 10.39 kB / 431.6 MB, free: 5.918 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.160034070024267] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 11.006804800941609 11.022449113 10.77513001 Calling exit ...