Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.001164/0.001164, allocations: 87.62 kB / 21.43 MB, free: 3.121 MB / 18.57 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.00606/0.00606, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.9253/0.9253, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.167e-05, allocations: 6.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.1349/0.1349, allocations: 4.194 MB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.137, allocations: 1.232 MB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.1374, allocations: 13.75 kB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1376, allocations: 116.6 kB / 304 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.138, allocations: 272.3 kB / 304.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.1387, allocations: 302.3 kB / 304.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009031/0.1396, allocations: 1.093 MB / 305.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.1399, allocations: 179 kB / 305.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.1405, allocations: 0.5883 MB / 306.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.1409, allocations: 351 kB / 306.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.141, allocations: 88.62 kB / 306.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1412, allocations: 110 kB / 307 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1413, allocations: 200 kB / 307.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.1416, allocations: 310.1 kB / 307.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.1425, allocations: 1.051 MB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1425, allocations: 0 / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1425, allocations: 0 / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1425, allocations: 5.219 kB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.0016/0.1441, allocations: 1.151 MB / 309.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1442, allocations: 14.83 kB / 309.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.08e-05/0.1442, allocations: 105.2 kB / 309.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1444, allocations: 93.19 kB / 309.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.1449, allocations: 407.1 kB / 310.3 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.145, allocations: 46.78 kB / 310.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.1451, allocations: 62.39 kB / 310.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.146, allocations: 0.7654 MB / 311.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1461, allocations: 192 / 311.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.1461, allocations: 29.58 kB / 311.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1461, allocations: 14.75 kB / 311.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.1473, allocations: 0.6746 MB / 311.9 MB, free: 9.301 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.1497, allocations: 1.827 MB / 313.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.1506, allocations: 0.5556 MB / 314.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.1511, allocations: 306.1 kB / 314.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.1511, allocations: 9.031 kB / 314.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.1518, allocations: 0.5454 MB / 315.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.474e-06/0.1518, allocations: 0 / 315.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.03507/0.1868, allocations: 15.25 MB / 330.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.1869, allocations: 145.5 kB / 330.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.1875, allocations: 0.491 MB / 331 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.1876, allocations: 49.64 kB / 331 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.1879, allocations: 368.8 kB / 331.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.1881, allocations: 329.1 kB / 331.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.1883, allocations: 182.6 kB / 331.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1885, allocations: 378.8 kB / 332.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.1897, allocations: 0.7782 MB / 333 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.191, allocations: 1.06 MB / 334.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.1934, allocations: 1.662 MB / 335.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1934, allocations: 0 / 335.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01153/0.205, allocations: 5.37 MB / 341.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.205, allocations: 71.39 kB / 341.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.205, allocations: 7.938 kB / 341.2 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/0.2216, allocations: 6.836 MB / 348 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.222, allocations: 147.7 kB / 348.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/0.2262, allocations: 3.165 MB / 351.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2272, allocations: 179.8 kB / 351.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.2273, allocations: 39.98 kB / 351.6 MB, free: 8.941 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.2276, allocations: 221.7 kB / 351.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2278, allocations: 82.97 kB / 351.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.2386, allocations: 5.066 MB / 356.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.2386, allocations: 8 kB / 356.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2386, allocations: 0 / 356.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.2386, allocations: 14.88 kB / 357 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.24, allocations: 0.8397 MB / 357.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.24, allocations: 0 / 357.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2403, allocations: 91.83 kB / 357.9 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/0.2562, allocations: 6.785 MB / 364.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.2564, allocations: 27.92 kB / 364.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.2603, allocations: 3.048 MB / 367.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.2603, allocations: 4.812 kB / 367.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.2727, allocations: 5.949 MB / 373.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.2729, allocations: 71.5 kB / 373.8 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.273, allocations: 20 kB / 373.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.2737, allocations: 167.8 kB / 374 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.2739, allocations: 108.8 kB / 374.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.274, allocations: 35.91 kB / 374.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003075/0.2743, allocations: 334.9 kB / 374.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2743, allocations: 0 / 374.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006262/0.2749, allocations: 252 kB / 374.7 MB, free: 1.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01244/0.2874, allocations: 6.521 MB / 381.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.2911, allocations: 2.153 MB / 383.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.2912, allocations: 0 / 383.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.293, allocations: 1.022 MB / 384.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.2936, allocations: 133.6 kB / 384.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.3232, allocations: 15.91 MB / 400.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3234, allocations: 340.8 kB / 400.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.3237, allocations: 58.11 kB / 400.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.3241, allocations: 264.4 kB / 401.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3241, allocations: 0 / 401.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.3649, allocations: 26.63 MB / 427.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/8.886, allocations: 3.953 kB / 427.7 MB, free: 12.11 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396668 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.702480040490627] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.992627362720668 9.002728485 8.858190077 Calling exit ...