Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4759/0.4759, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 349.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 115.6 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3823, allocations: 70.06 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09814/0.4804, allocations: 114.4 MB / 0.6692 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03722/0.5177, allocations: 26.66 MB / 0.6953 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006842/0.5247, allocations: 107.4 kB / 0.6954 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.5288, allocations: 0.9206 MB / 0.6963 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.5389, allocations: 3.16 MB / 0.6994 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007215/0.5461, allocations: 2.081 MB / 0.7014 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009549/0.5557, allocations: 8.189 MB / 0.7094 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2923/0.8479, allocations: 1.582 MB / 0.7109 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.8537, allocations: 2.328 MB / 0.7132 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004008/0.8577, allocations: 1.771 MB / 0.7149 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007243/0.8585, allocations: 110.2 kB / 0.715 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.8639, allocations: 2.148 MB / 0.7171 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007076/0.8646, allocations: 450.7 kB / 0.7176 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.8666, allocations: 1.172 MB / 0.7187 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.8722, allocations: 4.006 MB / 0.7226 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8723, allocations: 0 / 0.7226 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.143e-06/0.8723, allocations: 1.219 kB / 0.7226 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.122e-05/0.8724, allocations: 0 / 0.7226 GB, free: 12.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005559/0.8779, allocations: 2.834 MB / 0.7254 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.878, allocations: 8.969 kB / 0.7254 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007233/0.8787, allocations: 263.2 kB / 0.7257 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.8826, allocations: 2.105 MB / 0.7277 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.8827, allocations: 100.6 kB / 0.7278 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.883, allocations: 137.4 kB / 0.7279 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.8851, allocations: 1.457 MB / 0.7294 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.8852, allocations: 9.609 kB / 0.7294 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.8853, allocations: 58.06 kB / 0.7294 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.8853, allocations: 34.5 kB / 0.7295 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.8872, allocations: 1.025 MB / 0.7305 GB, free: 10.69 MB / 0.5105 GB 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.008448/0.8956, allocations: 8.113 MB / 0.7384 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.8971, allocations: 0.8481 MB / 0.7392 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.8976, allocations: 378.2 kB / 0.7396 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.8993, allocations: 2.806 MB / 0.7423 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.8994, allocations: 47.53 kB / 0.7424 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.876e-06/0.8994, allocations: 0 / 0.7424 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.002412/0.9018, allocations: 1.126 MB / 0.7435 GB, free: 18.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.9019, allocations: 62.28 kB / 0.7435 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.904, allocations: 1.603 MB / 0.7451 GB, free: 18.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.9041, allocations: 46.92 kB / 0.7451 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.9047, allocations: 0.9236 MB / 0.746 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.9049, allocations: 303.9 kB / 0.7463 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.9052, allocations: 230.4 kB / 0.7465 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.9054, allocations: 352.1 kB / 0.7469 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.906, allocations: 328.6 kB / 0.7472 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.9067, allocations: 0.7075 MB / 0.7479 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.9079, allocations: 1.084 MB / 0.7489 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.908, allocations: 5.25 kB / 0.7489 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00221/0.9102, allocations: 1.252 MB / 0.7502 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9102, allocations: 10.53 kB / 0.7502 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/0.9103, allocations: 18.42 kB / 0.7502 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.9103, allocations: 17 kB / 0.7502 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.9111, allocations: 266.6 kB / 0.7505 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.9111, allocations: 25.33 kB / 0.7505 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.9126, allocations: 187.6 kB / 0.7507 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.9127, allocations: 61.62 kB / 0.7507 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001178/0.9139, allocations: 0.6244 MB / 0.7513 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007288/0.9147, allocations: 0.7048 MB / 0.752 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001266/0.9159, allocations: 1.076 MB / 0.7531 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.916, allocations: 2.469 kB / 0.7531 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002154/0.9181, allocations: 1.247 MB / 0.7543 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9181, allocations: 10.44 kB / 0.7543 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.9182, allocations: 16.27 kB / 0.7543 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9182, allocations: 22.84 kB / 0.7543 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.9189, allocations: 264.4 kB / 0.7546 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.919, allocations: 28.61 kB / 0.7546 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.9203, allocations: 135.5 kB / 0.7547 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.9205, allocations: 69.12 kB / 0.7548 GB, free: 14.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003583/0.9208, allocations: 262.5 kB / 0.7551 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.9211, allocations: 190.2 kB / 0.7552 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.9239, allocations: 1.741 MB / 0.7569 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.924, allocations: 22.33 kB / 0.757 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.924, allocations: 0 / 0.757 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.9256, allocations: 1.144 MB / 0.7581 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/0.9312, allocations: 3.473 MB / 0.7615 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/0.9312, allocations: 16.53 kB / 0.7615 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.9319, allocations: 199.3 kB / 0.7617 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.9319, allocations: 10.06 kB / 0.7617 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.932, allocations: 44.2 kB / 0.7617 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.932, allocations: 13.03 kB / 0.7617 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.932, allocations: 16.84 kB / 0.7618 GB, free: 13.5 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.res.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, senTemOut.port_b.h_outflow, pip.del.x / pip.del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.del.h_ini_in, pip.del.h_ini_out})" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/0.9379, allocations: 3.572 MB / 0.7652 GB, free: 12.78 MB / 0.5261 GB Error: post-optimization module symbolicJacobian (simulation) failed.