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.001928/0.001928, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001434/0.001434, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.432/1.432, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.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: 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.001777/0.001777, allocations: 58.58 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2628, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004505/0.2673, allocations: 4.197 MB / 400.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2695, allocations: 1.243 MB / 401.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.2698, allocations: 13.59 kB / 401.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.27, allocations: 114.6 kB / 401.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.2704, allocations: 249.1 kB / 402.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.271, allocations: 307.7 kB / 402.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000824/0.2719, allocations: 1.046 MB / 403.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.2721, allocations: 181 kB / 403.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.2725, allocations: 420.7 kB / 404.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.2729, allocations: 411.3 kB / 404.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.2731, allocations: 88.5 kB / 404.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2733, allocations: 108.9 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2734, allocations: 196.8 kB / 404.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.2737, allocations: 373.2 kB / 405.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.2747, allocations: 1.006 MB / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2747, allocations: 0 / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2747, allocations: 0 / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2747, allocations: 0 / 406.3 MB, free: 3.008 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002119/0.2768, allocations: 1.164 MB / 407.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2768, allocations: 13.58 kB / 407.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.2769, allocations: 101 kB / 407.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2771, allocations: 94.34 kB / 407.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.2776, allocations: 405.8 kB / 408 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.2777, allocations: 51.14 kB / 408.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.2778, allocations: 58.75 kB / 408.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2791, allocations: 0.7631 MB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.2791, allocations: 5.859 kB / 408.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.2791, allocations: 24.66 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2791, allocations: 14.94 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2807, allocations: 0.6743 MB / 409.6 MB, free: 1.113 MB / 318.1 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.003127/0.2838, allocations: 1.831 MB / 411.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.2852, allocations: 0.5511 MB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.2859, allocations: 315 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.2859, allocations: 6.25 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009988/0.2869, allocations: 0.5434 MB / 412.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.2869, allocations: 0 / 412.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06778/0.3547, allocations: 15.24 MB / 428.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.3548, allocations: 141.5 kB / 428.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.3555, allocations: 0.4987 MB / 428.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.3558, allocations: 45.7 kB / 428.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.3561, allocations: 380.7 kB / 429.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.3564, allocations: 333.2 kB / 429.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.3568, allocations: 174.6 kB / 429.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.357, allocations: 382.8 kB / 430 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.3591, allocations: 0.7743 MB / 430.8 MB, free: 272 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.3618, allocations: 1.052 MB / 431.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006593/0.3684, allocations: 1.662 MB / 433.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3684, allocations: 4 kB / 433.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.03427/0.4026, allocations: 5.377 MB / 438.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.34e-05/0.4027, allocations: 67.41 kB / 439 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4027, allocations: 4 kB / 439 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03368/0.4364, allocations: 6.844 MB / 445.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.4371, allocations: 139.8 kB / 445.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.4443, allocations: 3.169 MB / 449.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4461, allocations: 171.9 kB / 449.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.4462, allocations: 51.95 kB / 449.3 MB, free: 13.41 MB / 366.1 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.0004563/0.4466, allocations: 225.6 kB / 449.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.4468, allocations: 87.48 kB / 449.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02247/0.4693, allocations: 5.052 MB / 454.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.4693, allocations: 12 kB / 454.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.4693, allocations: 4.188 kB / 454.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.4693, allocations: 3.984 kB / 454.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.471, allocations: 0.8497 MB / 455.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.471, allocations: 0 / 455.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.4716, allocations: 95.81 kB / 455.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03324/0.5048, allocations: 6.789 MB / 462.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.505, allocations: 23.98 kB / 462.5 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/0.5111, allocations: 3.045 MB / 465.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5111, allocations: 0 / 465.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/0.5355, allocations: 5.952 MB / 471.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.5358, allocations: 71.5 kB / 471.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.536, allocations: 16 kB / 471.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.5373, allocations: 175.8 kB / 471.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.5376, allocations: 100.8 kB / 471.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.5377, allocations: 27.98 kB / 471.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.5381, allocations: 338.9 kB / 472.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5381, allocations: 3.938 kB / 472.2 MB, free: 6.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.5389, allocations: 259.9 kB / 472.4 MB, free: 6.141 MB / 382.1 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.02503/0.5639, allocations: 6.518 MB / 478.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006995/0.5709, allocations: 2.148 MB / 481.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5709, allocations: 0 / 481.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003653/0.5745, allocations: 1.024 MB / 482.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.5754, allocations: 138.4 kB / 482.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05556/0.631, allocations: 15.91 MB / 498.2 MB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6313, allocations: 349 kB / 498.5 MB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.6316, allocations: 54.06 kB / 498.6 MB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.632, allocations: 255.4 kB / 498.8 MB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.632, allocations: 0 / 498.8 MB, free: 11.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/0.6986, allocations: 26.6 MB / 0.5131 GB, free: 0.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.3, allocations: 0 / 0.5131 GB, free: 0.582 MB / 430.1 MB " [Timeout remaining time 646] (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: 16.760256079025567] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.43663357803598 14.465914568 14.186173237 Calling exit ...