Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004812/0.004812, allocations: 100.5 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5298/0.5298, allocations: 92.61 MB / 432.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.48 kB / 0.5732 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1156, allocations: 71.42 MB / 0.643 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.00742/0.1231, allocations: 6.069 MB / 0.6489 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1267, allocations: 1.774 MB / 0.6506 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.1275, allocations: 11.94 kB / 0.6506 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.1282, allocations: 238.1 kB / 0.6509 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.1299, allocations: 0.5471 MB / 0.6514 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1317, allocations: 0.756 MB / 0.6521 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1335, allocations: 1.362 MB / 0.6535 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.134, allocations: 295.6 kB / 0.6537 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.1347, allocations: 0.5445 MB / 0.6543 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008732/0.1356, allocations: 0.7001 MB / 0.655 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1357, allocations: 104 kB / 0.6551 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.1362, allocations: 215.9 kB / 0.6553 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.1365, allocations: 274.8 kB / 0.6555 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/0.1371, allocations: 0.5943 MB / 0.6561 GB, free: 5.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.139, allocations: 1.466 MB / 0.6575 GB, free: 4.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1391, allocations: 0 / 0.6575 GB, free: 4.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1391, allocations: 3.938 kB / 0.6575 GB, free: 4.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.983e-05/0.1391, allocations: 0 / 0.6575 GB, free: 4.117 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008897/0.148, allocations: 2.539 MB / 0.66 GB, free: 1.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1481, allocations: 8.031 kB / 0.66 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.1482, allocations: 122.5 kB / 0.6601 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.1527, allocations: 0.6782 MB / 0.6608 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.1542, allocations: 0.7448 MB / 0.6615 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.1546, allocations: 345.3 kB / 0.6619 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.1548, allocations: 79.89 kB / 0.6619 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.1573, allocations: 1.11 MB / 0.663 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1573, allocations: 3.984 kB / 0.663 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.1574, allocations: 24 kB / 0.663 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.1574, allocations: 20 kB / 0.6631 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.1598, allocations: 1.05 MB / 0.6641 GB, free: 13.21 MB / 478.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.006327/0.1662, allocations: 3.417 MB / 0.6674 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.1831, allocations: 3.942 MB / 0.6713 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.185, allocations: 0.7363 MB / 0.672 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.1852, allocations: 16.97 kB / 0.672 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.1852, allocations: 47.5 kB / 0.6721 GB, free: 4.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/0.1852, allocations: 0 / 0.6721 GB, free: 4.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.03635/0.2216, allocations: 8.462 MB / 0.6803 GB, free: 12.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.2217, allocations: 90.05 kB / 0.6804 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2229, allocations: 0.8568 MB / 0.6812 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.2231, allocations: 41.7 kB / 0.6813 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.2235, allocations: 457.1 kB / 0.6817 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.2239, allocations: 325.2 kB / 0.682 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.2243, allocations: 158.6 kB / 0.6822 GB, free: 10.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2244, allocations: 341.9 kB / 0.6825 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.2261, allocations: 0.6422 MB / 0.6831 GB, free: 9.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.2278, allocations: 0.7729 MB / 0.6839 GB, free: 8.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.2312, allocations: 1.434 MB / 0.6853 GB, free: 7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.2312, allocations: 0 / 0.6853 GB, free: 7 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01546/0.2467, allocations: 4.312 MB / 0.6895 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.2467, allocations: 9.094 kB / 0.6895 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2467, allocations: 0 / 0.6895 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/0.2543, allocations: 2.088 MB / 0.6916 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.2551, allocations: 127.8 kB / 0.6917 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02921/0.2843, allocations: 10.65 MB / 0.7021 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.2858, allocations: 171.2 kB / 0.7022 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.2859, allocations: 32 kB / 0.7023 GB, free: 5.449 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.2864, allocations: 222.2 kB / 0.7025 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.2866, allocations: 115.2 kB / 0.7026 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.3022, allocations: 4.263 MB / 0.7068 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.3023, allocations: 12 kB / 0.7068 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3023, allocations: 3.938 kB / 0.7068 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.3023, allocations: 7.969 kB / 0.7068 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.3198, allocations: 5.678 MB / 0.7123 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.3199, allocations: 0 / 0.7123 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.3204, allocations: 87.77 kB / 0.7124 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007201/0.3276, allocations: 1.979 MB / 0.7143 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.3277, allocations: 20 kB / 0.7144 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02596/0.3537, allocations: 9.458 MB / 0.7236 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3537, allocations: 4 kB / 0.7236 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/0.3714, allocations: 5.236 MB / 0.7287 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.3718, allocations: 212.1 kB / 0.7289 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.372, allocations: 15.94 kB / 0.7289 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.3731, allocations: 103.9 kB / 0.729 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007375/0.3739, allocations: 228.5 kB / 0.7292 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.374, allocations: 23.98 kB / 0.7293 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008158/0.3748, allocations: 0.583 MB / 0.7298 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 0.7298 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001262/0.3761, allocations: 423.7 kB / 0.7302 GB, free: 8.441 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01802/0.3941, allocations: 5.819 MB / 0.7359 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007833/0.402, allocations: 2.424 MB / 0.7383 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.402, allocations: 0 / 0.7383 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/0.4079, allocations: 1.671 MB / 0.7399 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.4088, allocations: 95.42 kB / 0.74 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04255/0.4514, allocations: 15.37 MB / 0.755 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.4522, allocations: 1.053 MB / 0.756 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.4526, allocations: 74.31 kB / 0.7561 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.4531, allocations: 407.3 kB / 0.7565 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.4531, allocations: 0 / 0.7565 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3126/0.7657, allocations: 35.82 MB / 0.7915 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/16.91, allocations: 8.406 kB / 0.7915 GB, free: 111.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1)